All of lore.kernel.org
 help / color / mirror / Atom feed
* fix queue freeze and limit locking order v2
@ 2025-01-08  9:24 Christoph Hellwig
  2025-01-08  9:24 ` [PATCH 01/10] block: fix docs for freezing of queue limits updates Christoph Hellwig
                   ` (10 more replies)
  0 siblings, 11 replies; 38+ messages in thread
From: Christoph Hellwig @ 2025-01-08  9:24 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Damien Le Moal, Ming Lei, Nilay Shroff, linux-block, linux-nvme,
	nbd, linux-scsi, usb-storage

Hi all,

this is my version of Damien's "Fix queue freeze and limit locking order".
A lot looks very similar, but it was done independently based on the
previous discussion.

Changes since v1:
 - more comment typo fixing
 - fix loop as well
 - make the poll sysfs attr show method more accurate
 
Changes since RFC:
 - fix a bizzare virtio_blk bisection snafu
 - set BLK_FEAT_POLL a little less eagerly for blk-mq
 - drop the loop patch just adding a comment
 - improve various commit logs and coments

Diffstat:
 block/blk-core.c               |   17 ++++-
 block/blk-integrity.c          |    4 -
 block/blk-mq.c                 |   17 -----
 block/blk-settings.c           |   27 +++++++-
 block/blk-sysfs.c              |  134 ++++++++++++++++++++---------------------
 block/blk-zoned.c              |    7 --
 block/blk.h                    |    1 
 drivers/block/loop.c           |   52 ++++++++++-----
 drivers/block/nbd.c            |   17 -----
 drivers/block/virtio_blk.c     |    4 -
 drivers/nvme/host/core.c       |    9 +-
 drivers/scsi/sd.c              |   17 +----
 drivers/scsi/sr.c              |    5 -
 drivers/usb/storage/scsiglue.c |    5 -
 include/linux/blkdev.h         |    5 -
 15 files changed, 164 insertions(+), 157 deletions(-)

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

end of thread, other threads:[~2025-01-13  7:25 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-08  9:24 fix queue freeze and limit locking order v2 Christoph Hellwig
2025-01-08  9:24 ` [PATCH 01/10] block: fix docs for freezing of queue limits updates Christoph Hellwig
2025-01-08 10:19   ` Ming Lei
2025-01-13  7:19   ` Hannes Reinecke
2025-01-08  9:24 ` [PATCH 02/10] block: add a queue_limits_commit_update_frozen helper Christoph Hellwig
2025-01-08 10:20   ` Ming Lei
2025-01-13  7:20   ` Hannes Reinecke
2025-01-08  9:25 ` [PATCH 03/10] block: don't update BLK_FEAT_POLL in __blk_mq_update_nr_hw_queues Christoph Hellwig
2025-01-08 10:17   ` Damien Le Moal
2025-01-08 10:31   ` Ming Lei
2025-01-08 15:27     ` Christoph Hellwig
2025-01-09  0:05       ` Damien Le Moal
2025-01-09  2:18         ` Ming Lei
2025-01-08 10:54   ` Nilay Shroff
2025-01-13  7:23   ` Hannes Reinecke
2025-01-08  9:25 ` [PATCH 04/10] block: add a store_limit operations for sysfs entries Christoph Hellwig
2025-01-08 10:33   ` Ming Lei
2025-01-13  7:24   ` Hannes Reinecke
2025-01-08  9:25 ` [PATCH 05/10] block: fix queue freeze vs limits lock order in sysfs store methods Christoph Hellwig
2025-01-08 10:18   ` Damien Le Moal
2025-01-08 10:38   ` Ming Lei
2025-01-08 15:29     ` Christoph Hellwig
2025-01-13  7:25   ` Hannes Reinecke
2025-01-08  9:25 ` [PATCH 06/10] nvme: fix queue freeze vs limits lock order Christoph Hellwig
2025-01-08 10:39   ` Ming Lei
2025-01-08  9:25 ` [PATCH 07/10] nbd: " Christoph Hellwig
2025-01-08 10:40   ` Ming Lei
2025-01-08  9:25 ` [PATCH 08/10] usb-storage: " Christoph Hellwig
2025-01-08 10:41   ` Ming Lei
2025-01-08  9:25 ` [PATCH 09/10] loop: refactor queue limits updates Christoph Hellwig
2025-01-08 10:20   ` Damien Le Moal
2025-01-08 10:42   ` Ming Lei
2025-01-08 10:56   ` Nilay Shroff
2025-01-08  9:25 ` [PATCH 10/10] loop: fix queue freeze vs limits lock order Christoph Hellwig
2025-01-08 10:20   ` Damien Le Moal
2025-01-08 10:44   ` Ming Lei
2025-01-08 10:57   ` Nilay Shroff
2025-01-08 10:51 ` fix queue freeze and limit locking order v2 Johannes Thumshirn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.