mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] block: skip quiescing the queue for the default elevator
@ 2026-10-15  1:52 Qiliang Yuan
  2026-10-15  1:52 ` [PATCH v2 1/2] block: don't quiesce the queue when setting " Qiliang Yuan
  2026-10-15  1:52 ` [PATCH v2 2/2] block: rename the out_unfreeze label in elevator_switch() Qiliang Yuan
  0 siblings, 2 replies; 3+ messages in thread
From: Qiliang Yuan @ 2026-10-15  1:52 UTC (permalink / raw)
  To: Jens Axboe, Ming Lei, Nilay Shroff, Hannes Reinecke
  Cc: linux-block, linux-kernel, Qiliang Yuan, stable

Setting the default elevator of a new disk quiesces the queue, so every
disk added with a default elevator waits for an RCU grace period. Patch
1 skips the quiesce there, which brings START_DEV of a single-queue ublk
device from 7.74ms to 0.68ms at p50. Patch 2 renames a misleading label
in elevator_switch().

Signed-off-by: Qiliang Yuan <odys.yuan@gmail.com>
---
V1 -> V2:
- Add Reviewed-by from Ming Lei and Nilay Shroff to patch 1.
- Rename out_unfreeze to out_unquiesce in a separate patch 2 (Nilay).
- Rebase onto for-7.4/block.

v1: https://lore.kernel.org/r/20261001-bug-block-elevator-init-quiesce-v1-1-5c85fa0ec59b@gmail.com

---
Qiliang Yuan (2):
      block: don't quiesce the queue when setting the default elevator
      block: rename the out_unfreeze label in elevator_switch()

 block/elevator.c | 11 +++++++----
 block/elevator.h |  2 ++
 2 files changed, 9 insertions(+), 4 deletions(-)
---
base-commit: 0f6b042f9a13968c4cd6cde1a70a7b242009ef46
change-id: 20260930-bug-block-elevator-init-quiesce-35d73f9b462d

Best regards,
-- 
Qiliang Yuan <odys.yuan@gmail.com>


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

end of thread, other threads:[~2026-10-15  1:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15  1:52 [PATCH v2 0/2] block: skip quiescing the queue for the default elevator Qiliang Yuan
2026-10-15  1:52 ` [PATCH v2 1/2] block: don't quiesce the queue when setting " Qiliang Yuan
2026-10-15  1:52 ` [PATCH v2 2/2] block: rename the out_unfreeze label in elevator_switch() Qiliang Yuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®