linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] null_blk cleanup and fix
@ 2020-04-01  1:07 Damien Le Moal
  2020-04-01  1:07 ` [PATCH v2 1/2] block: null_blk: Fix zoned command handling Damien Le Moal
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Damien Le Moal @ 2020-04-01  1:07 UTC (permalink / raw)
  To: linux-block, Jens Axboe; +Cc: Johannes Thumshirn

Jens,

The first patch of this series extracts and extends a fix included in
the zone append series to correctly handle writes to null_blk zoned
devices. The fix forces zone type and zone condition checks to be
executed before the generic null_blk bad block and memory backing
options handling. The fix also makes sure that a zone write pointer
position is updated only if these two generic operations are executed
successfully.

The second patch is from Johannes series for REQ_OP_ZONE_APPEND support
to clean up null_blk zoned device initialization. The reviewed tag
from Christoph sent for the patch within Johannes post is included here.

Please consider these patches for inclusion in 5.7.

Changes from v1:
* Reversed patch order
* Addressed Christoph comments on patch 1 (function name, inline, etc)

Damien Le Moal (2):
  block: null_blk: Fix zoned command handling
  null_blk: Cleanup zoned device initialization

 drivers/block/null_blk.h       | 29 ++++++++++------
 drivers/block/null_blk_main.c  | 62 +++++++++++++++++-----------------
 drivers/block/null_blk_zoned.c | 41 ++++++++++++++++------
 3 files changed, 81 insertions(+), 51 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2020-04-21 17:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01  1:07 [PATCH v2 0/2] null_blk cleanup and fix Damien Le Moal
2020-04-01  1:07 ` [PATCH v2 1/2] block: null_blk: Fix zoned command handling Damien Le Moal
2020-04-01  1:52   ` Chaitanya Kulkarni
2020-04-01  9:34   ` Christoph Hellwig
2020-04-01  1:07 ` [PATCH v2 2/2] null_blk: Cleanup zoned device initialization Damien Le Moal
2020-04-01  1:31   ` Chaitanya Kulkarni
2020-04-21  9:10 ` [PATCH v2 0/2] null_blk cleanup and fix Damien Le Moal
2020-04-21 17:38   ` Jens Axboe

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).