linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/11] mq-deadline: Improve support for zoned block devices
@ 2023-04-18 22:39 Bart Van Assche
  2023-04-18 22:39 ` [PATCH v2 01/11] block: Simplify blk_req_needs_zone_write_lock() Bart Van Assche
                   ` (10 more replies)
  0 siblings, 11 replies; 48+ messages in thread
From: Bart Van Assche @ 2023-04-18 22:39 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Jaegeuk Kim, Christoph Hellwig, Bart Van Assche

Hi Jens,

This patch series improves support for zoned block devices in the mq-deadline
scheduler as follows:
* The order of requeued writes (REQ_OP_WRITE*) is preserved.
* The active zone limit is enforced.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Changes compared to v1:
- Left out the patches related to request insertion and requeuing since
  Christoph is busy with reworking these patches.
- Added a patch for enforcing the active zone limit.

Bart Van Assche (11):
  block: Simplify blk_req_needs_zone_write_lock()
  block: Micro-optimize blk_req_needs_zone_write_lock()
  block: Introduce blk_rq_is_seq_zoned_write()
  block: mq-deadline: Simplify deadline_skip_seq_writes()
  block: mq-deadline: Improve deadline_skip_seq_writes()
  block: mq-deadline: Disable head insertion for zoned writes
  block: mq-deadline: Preserve write streams for all device types
  block: mq-deadline: Fix a race condition related to zoned writes
  block: mq-deadline: Handle requeued requests correctly
  block: Add support for the zone capacity concept
  block: mq-deadline: Respect the active zone limit

 Documentation/ABI/stable/sysfs-block |   8 ++
 block/Kconfig.iosched                |   4 +
 block/Makefile                       |   1 +
 block/blk-mq.h                       |   2 +-
 block/blk-settings.c                 |   1 +
 block/blk-sysfs.c                    |   7 ++
 block/blk-zoned.c                    |  43 +++++--
 block/mq-deadline-zoned.c            | 141 +++++++++++++++++++++
 block/mq-deadline-zoned.h            |  31 +++++
 block/mq-deadline.c                  | 177 ++++++++++++++-------------
 block/mq-deadline.h                  |  79 ++++++++++++
 include/linux/blk-mq.h               |   6 +
 include/linux/blkdev.h               |  18 ++-
 13 files changed, 423 insertions(+), 95 deletions(-)
 create mode 100644 block/mq-deadline-zoned.c
 create mode 100644 block/mq-deadline-zoned.h
 create mode 100644 block/mq-deadline.h

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

end of thread, other threads:[~2023-04-25 13:38 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 22:39 [PATCH v2 00/11] mq-deadline: Improve support for zoned block devices Bart Van Assche
2023-04-18 22:39 ` [PATCH v2 01/11] block: Simplify blk_req_needs_zone_write_lock() Bart Van Assche
2023-04-19  4:09   ` Christoph Hellwig
2023-04-18 22:39 ` [PATCH v2 02/11] block: Micro-optimize blk_req_needs_zone_write_lock() Bart Van Assche
2023-04-19  4:11   ` Christoph Hellwig
2023-04-19 18:30     ` Bart Van Assche
2023-04-20  5:00       ` Christoph Hellwig
2023-04-18 22:39 ` [PATCH v2 03/11] block: Introduce blk_rq_is_seq_zoned_write() Bart Van Assche
2023-04-19  4:50   ` Christoph Hellwig
2023-04-19 21:12     ` Bart Van Assche
2023-04-20  1:03       ` Damien Le Moal
2023-04-20  5:01         ` Christoph Hellwig
2023-04-18 22:39 ` [PATCH v2 04/11] block: mq-deadline: Simplify deadline_skip_seq_writes() Bart Van Assche
2023-04-19  4:52   ` Christoph Hellwig
2023-04-18 22:39 ` [PATCH v2 05/11] block: mq-deadline: Improve deadline_skip_seq_writes() Bart Van Assche
2023-04-18 22:39 ` [PATCH v2 06/11] block: mq-deadline: Disable head insertion for zoned writes Bart Van Assche
2023-04-19  4:30   ` Christoph Hellwig
2023-04-19 22:43     ` Bart Van Assche
2023-04-20  5:06       ` Christoph Hellwig
2023-04-20 17:00         ` Bart Van Assche
2023-04-24  7:00           ` Christoph Hellwig
2023-04-18 22:39 ` [PATCH v2 07/11] block: mq-deadline: Preserve write streams for all device types Bart Van Assche
2023-04-18 22:39 ` [PATCH v2 08/11] block: mq-deadline: Fix a race condition related to zoned writes Bart Van Assche
2023-04-19  5:07   ` Christoph Hellwig
2023-04-19 18:46     ` Bart Van Assche
2023-04-20  1:00       ` Damien Le Moal
2023-04-18 22:40 ` [PATCH v2 09/11] block: mq-deadline: Handle requeued requests correctly Bart Van Assche
2023-04-19  5:07   ` Christoph Hellwig
2023-04-19 23:01     ` Bart Van Assche
2023-04-20  1:07       ` Damien Le Moal
2023-04-18 22:40 ` [PATCH v2 10/11] block: Add support for the zone capacity concept Bart Van Assche
2023-04-20  9:23   ` Niklas Cassel
2023-04-20 17:12     ` Bart Van Assche
2023-04-20 22:00       ` Damien Le Moal
2023-04-20 22:51         ` Bart Van Assche
2023-04-20 23:37           ` Damien Le Moal
2023-04-20 23:44             ` Bart Van Assche
2023-04-20 23:53               ` Damien Le Moal
2023-04-21  0:29                 ` Jaegeuk Kim
2023-04-21  1:52                   ` Damien Le Moal
2023-04-21 20:15                     ` Jaegeuk Kim
2023-04-21 22:25                       ` Damien Le Moal
2023-04-24  6:01                         ` Christoph Hellwig
2023-04-24 17:58                           ` Jaegeuk Kim
2023-04-24 19:05                           ` Jaegeuk Kim
2023-04-25 13:38                           ` Damien Le Moal
2023-04-24 17:48                         ` Jaegeuk Kim
2023-04-18 22:40 ` [PATCH v2 11/11] block: mq-deadline: Respect the active zone limit Bart Van Assche

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