summaryrefslogtreecommitdiff
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-03-28 11:05:31 +0800
committerJens Axboe <axboe@kernel.dk>2019-04-01 12:11:48 -0600
commit81ba6abd2bcd2812974bd3a4c43d1d032acfa751 (patch)
tree2223771a69cbddbc0a640244f75aabb5cfef6f8d /drivers/md/raid5.c
parentf6970f83ef79503cb24ca8324e5cfa1188674f85 (diff)
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 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions