qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH 1/5] block: Fragment reads to max transfer lengt


From: Kevin Wolf
Subject: Re: [Qemu-block] [PATCH 1/5] block: Fragment reads to max transfer length
Date: Fri, 8 Jul 2016 12:56:00 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 21.06.2016 um 01:39 hat Eric Blake geschrieben:
> Drivers should be able to rely on the block layer honoring the
> max transfer length, rather than needing to return -EINVAL
> (iscsi) or manually fragment things (nbd).  This patch adds
> the fragmentation in the block layer, after requests have been
> aligned (fragmenting before alignment would lead to multiple
> unaligned requests, rather than just the head and tail).
> 
> Signed-off-by: Eric Blake <address@hidden>

Doesn't build for me:

block/io.c: In function 'bdrv_aligned_preadv':
block/io.c:1071:5: error: 'ret' may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
     return ret;

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]