3e1a88ec96
Add a helper function calculating the number of bvec segments we need to allocate to construct a bio. It doesn't change anything functionally, but will be used to not duplicate special cases in the future. 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> |
||
---|---|---|
.. | ||
Makefile | ||
apply.c | ||
buffered-io.c | ||
direct-io.c | ||
fiemap.c | ||
seek.c | ||
swapfile.c | ||
trace.c | ||
trace.h |