diff options
author | Ming Lei <ming.lei@redhat.com> | 2019-03-28 11:05:31 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-01 12:11:48 -0600 |
commit | 81ba6abd2bcd2812974bd3a4c43d1d032acfa751 (patch) | |
tree | 2223771a69cbddbc0a640244f75aabb5cfef6f8d /block/bounce.c | |
parent | f6970f83ef79503cb24ca8324e5cfa1188674f85 (diff) | |
download | linux-81ba6abd2bcd2812974bd3a4c43d1d032acfa751.tar.bz2 |
block: loop: mark bvec as ITER_BVEC_FLAG_NO_REF
loop is one block device, for any bio submitted to this device,
the upper layer does guarantee that pages added to loop's bio won't
go away when the bio is in-flight.
So mark loop's bvec as ITER_BVEC_FLAG_NO_REF then get_page/put_page
can be saved for serving loop's IO.
Cc: linux-fsdevel@vger.kernel.org
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions