Skip to content

RFC block layer change necessary for bcache zoned device support

Coly Li linux-bcache linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest4 patches 21 repliesIn review
  2. v1 RFC4 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block: change REQ_OP_ZONE_RESET from 6 to 13include/linux/blk_types.h+2 -212 replies
2/4block: block: change REQ_OP_ZONE_RESET_ALL from 8 to 15include/linux/blk_types.h+2 -21 reply
3/4block: remove queue_is_mq restriction from blk_revalidate_disk_zones()block/blk-zoned.c+0 -25 replies
4/4block: set bi_size to REQ_OP_ZONE_RESET bioblock/blk-zoned.c+4 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH v2 0/4] block layer change necessary for bcache zoned device support

Hi folks,

Recently I am working on supprt bcache to be created on zoned devices e.g. host managed SMR hard drives, then frequent random READ I/Os on these SMR drives can be accelerated.

To make the bcache code work correctly, there are some small but maybe important changes of block layer code are necessary.

Thanks for the review comments from Keith Busch, I fix the typo and post the v2 series for your review and comments.

Thank you all in advance.

Coly Li
---

Coly Li (4):
block: change REQ_OP_ZONE_RESET from 6 to 13
block: block: change REQ_OP_ZONE_RESET_ALL from 8 to 15
block: remove queue_is_mq restriction from blk_revalidate_disk_zones()
block: set bi_size to REQ_OP_ZONE_RESET bio

 block/blk-zoned.c         | 6 ++++--
 include/linux/blk_types.h | 8 ++++----
 2 files changed, 8 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.0