diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-05-01 13:09:03 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-05-01 16:08:43 +0200 |
commit | c4c3ffdab2e26780f6f7c9959a473b2c652f4d13 (patch) | |
tree | 26d37425e525d2db95b544ddde25704cf9be0a79 /block/blk.h | |
parent | block: Fix handling of non-empty flush write requests to zones (diff) | |
download | linux-c4c3ffdab2e26780f6f7c9959a473b2c652f4d13.tar.xz linux-c4c3ffdab2e26780f6f7c9959a473b2c652f4d13.zip |
block: Improve blk_zone_write_plug_bio_merged()
Improve blk_zone_write_plug_bio_merged() to check that we succefully get
a reference on the zone write plug of the merged BIO, as expected since
for a merge we already have at least one request and one BIO referencing
the zone write plug. Comments in this function are also improved to
better explain the references to the BIO zone write plug.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20240501110907.96950-11-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions