diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-01-09 16:02:58 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-25 08:58:24 -0700 |
commit | 9b2e0016d04c6542ace0128eb82ecb3b10c97e43 (patch) | |
tree | 7354e1e1321f6b8e1117fc77eb49f2c504006fee /mm | |
parent | 0f1d344feb534555a0dcd0beafb7211a37c5355e (diff) |
bvec/iter: disallow zero-length segment bvecs
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.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions