linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Zone write plugging fixes
@ 2024-12-06  1:52 Damien Le Moal
  2024-12-06  1:52 ` [PATCH 1/4] block: Use a zone write plug BIO work for REQ_NOWAIT BIOs Damien Le Moal
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Damien Le Moal @ 2024-12-06  1:52 UTC (permalink / raw)
  To: linux-block, Jens Axboe, Mike Snitzer, Mikulas Patocka, dm-devel
  Cc: Christoph Hellwig, Bart Van Assche

Jens,

These patches address potential issues with zone write plugging.
The first 2 patches fix handling of REQ_NOWAIT BIOs as these can be
"failed" after going through the zone write plugging and changing the
target zone plug zone write pointer offset.

Patch 3 is a bigger fix and address a potential deadlock issue due to
the zone write plugging internally issuing zone report operations to
recover from write errors. This zone report operation is removed by this
patch and replaced with an automatic recovery when the BIO issuer
execute a zone report. This change in behavior results in a problem with
REQ_OP_WRITE_ZEROES handling and failures in the dm-zoned device mapper.
That is fixed in patch 4.

Damien Le Moal (4):
  block: Use a zone write plug BIO work for REQ_NOWAIT BIOs
  block: Ignore REQ_NOWAIT for zone reset and zone finish operations
  block: Prevent potential deadlocks in zone write plug error recovery
  dm: Fix dm-zoned-reclaim zone write pointer alignment

 block/blk-zoned.c             | 507 +++++++++++++++-------------------
 drivers/md/dm-zoned-reclaim.c |   4 +-
 include/linux/blkdev.h        |   5 +-
 3 files changed, 229 insertions(+), 287 deletions(-)

-- 
2.47.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-12-06  6:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-06  1:52 [PATCH 0/4] Zone write plugging fixes Damien Le Moal
2024-12-06  1:52 ` [PATCH 1/4] block: Use a zone write plug BIO work for REQ_NOWAIT BIOs Damien Le Moal
2024-12-06  1:52 ` [PATCH 2/4] block: Ignore REQ_NOWAIT for zone reset and zone finish operations Damien Le Moal
2024-12-06  1:52 ` [PATCH 3/4] block: Prevent potential deadlocks in zone write plug error recovery Damien Le Moal
2024-12-06  1:52 ` [PATCH 4/4] dm: Fix dm-zoned-reclaim zone write pointer alignment Damien Le Moal
2024-12-06  6:10   ` kernel test robot
2024-12-06  3:55 ` [PATCH 0/4] Zone write plugging fixes Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).