summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-02-24 19:59:44 +0300
committerJens Axboe <axboe@kernel.dk>2023-02-24 23:19:56 +0300
commit11eb695feb636fa5211067189cad25ac073e7fe5 (patch)
tree012349714053961ee1949a16487b67951f93f7f7 /block/blk-core.c
parent9f6ad5d533d1c71e51bdd06a5712c4fbc8768dfa (diff)
downloadlinux-11eb695feb636fa5211067189cad25ac073e7fe5.tar.xz
block: clear bio->bi_bdev when putting a bio back in the cache
This isn't strictly needed in terms of correctness, but it does allow polling to know if the bio has been put already by a different task and hence avoid polling something that we don't need to. Cc: stable@vger.kernel.org Fixes: be4d234d7aeb ("bio: add allocation cache abstraction") Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions