Thread (30 messages) 30 messages, 2 authors, 2021-09-20

Re: [PATCH RESEND v3 02/13] block: Rename BLKDEV_MAX_RQ -> BLKDEV_DEFAULT_RQ

From: Hannes Reinecke <hare@suse.de>
Date: 2021-09-14 05:36:50
Also in: linux-scsi, lkml

On 9/13/21 5:12 PM, John Garry wrote:
It is a bit confusing that there is BLKDEV_MAX_RQ and MAX_SCHED_RQ, as
the name BLKDEV_MAX_RQ would imply the max requests always, which it is
not.

Rename to BLKDEV_MAX_RQ to BLKDEV_DEFAULT_RQ, matching it's usage - that being
the default number of requests assigned when allocating a request queue.

Signed-off-by: John Garry <redacted>
Reviewed-by: Ming Lei <redacted>
---
  block/blk-core.c       | 2 +-
  block/blk-mq-sched.c   | 2 +-
  block/blk-mq-sched.h   | 2 +-
  drivers/block/rbd.c    | 2 +-
  include/linux/blkdev.h | 2 +-
  5 files changed, 5 insertions(+), 5 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, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help