Re: [PATCH v2 2/7] bvec/iter: disallow zero-length segment bvecs

From
Christoph Hellwig <hch@infradead.org>
Date
2021-01-04 16:20:23
Also in
io-uring, linux-doc, linux-fsdevel, linux-scsi, linux-xfs, lkml, target-devel
Reply to
Pavel Begunkov, 2021-01-02
On Sat, Jan 02, 2021 at 03:17:34PM +0000, Pavel Begunkov wrote:
zero-length bvec segments are allowed in general, but not handled by bio
and down the block layer so filtered out. This inconsistency may be
confusing and prevent from optimisations. As zero-length segments are
useless and places that were generating them are patched, declare them
not allowed.
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Thread (15 messages) 15 messages, 3 authors, last reply 2021-01-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help