[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 02/10] block: add a queue_limits_commit_update_frozen helper



On 1/8/25 10:24, Christoph Hellwig wrote:
Add a helper that freezes the queue, updates the queue limits and
unfreezes the queue and convert all open coded versions of that to the
new helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
---
  block/blk-integrity.c      |  4 +---
  block/blk-settings.c       | 24 ++++++++++++++++++++++++
  block/blk-zoned.c          |  7 +------
  drivers/block/virtio_blk.c |  4 +---
  drivers/scsi/sd.c          | 17 +++++------------
  drivers/scsi/sr.c          |  5 +----
  include/linux/blkdev.h     |  2 ++
  7 files changed, 35 insertions(+), 28 deletions(-)

Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich


Reply to: