linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] SCSI fixes for 5.3-rc7
@ 2019-09-06 20:39 James Bottomley
  2019-09-06 23:18 ` Linus Torvalds
  2019-09-07  0:00 ` pr-tracker-bot
  0 siblings, 2 replies; 4+ messages in thread
From: James Bottomley @ 2019-09-06 20:39 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: linux-scsi, linux-kernel

Just a single lpfc fix adjusting the number of available queues for
high CPU count systems.

The patch is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

The short changelog is:

James Smart (1):
      scsi: lpfc: Raise config max for lpfc_fcp_mq_threshold variable

And the diffstat:

 drivers/scsi/lpfc/lpfc_attr.c | 2 +-
 drivers/scsi/lpfc/lpfc_sli4.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

With full diff below.

James

---

diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index 8d8c495b5b60..d65558619ab0 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -5715,7 +5715,7 @@ LPFC_ATTR_RW(nvme_embed_cmd, 1, 0, 2,
  *      0    = Set nr_hw_queues by the number of CPUs or HW queues.
  *      1,128 = Manually specify the maximum nr_hw_queue value to be set,
  *
- * Value range is [0,128]. Default value is 8.
+ * Value range is [0,256]. Default value is 8.
  */
 LPFC_ATTR_R(fcp_mq_threshold, LPFC_FCP_MQ_THRESHOLD_DEF,
 	    LPFC_FCP_MQ_THRESHOLD_MIN, LPFC_FCP_MQ_THRESHOLD_MAX,
diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h
index 329f7aa7e169..a81ef0293696 100644
--- a/drivers/scsi/lpfc/lpfc_sli4.h
+++ b/drivers/scsi/lpfc/lpfc_sli4.h
@@ -46,7 +46,7 @@
 
 /* FCP MQ queue count limiting */
 #define LPFC_FCP_MQ_THRESHOLD_MIN	0
-#define LPFC_FCP_MQ_THRESHOLD_MAX	128
+#define LPFC_FCP_MQ_THRESHOLD_MAX	256
 #define LPFC_FCP_MQ_THRESHOLD_DEF	8
 
 /* Common buffer size to accomidate SCSI and NVME IO buffers */



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

* Re: [GIT PULL] SCSI fixes for 5.3-rc7
  2019-09-06 20:39 [GIT PULL] SCSI fixes for 5.3-rc7 James Bottomley
@ 2019-09-06 23:18 ` Linus Torvalds
  2019-09-07  0:13   ` James Smart
  2019-09-07  0:00 ` pr-tracker-bot
  1 sibling, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2019-09-06 23:18 UTC (permalink / raw)
  To: James Bottomley; +Cc: Andrew Morton, linux-scsi, linux-kernel

On Fri, Sep 6, 2019 at 1:39 PM James Bottomley
<James.Bottomley@hansenpartnership.com> wrote:
>
>
> diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
> index 8d8c495b5b60..d65558619ab0 100644
> --- a/drivers/scsi/lpfc/lpfc_attr.c
> +++ b/drivers/scsi/lpfc/lpfc_attr.c
> @@ -5715,7 +5715,7 @@ LPFC_ATTR_RW(nvme_embed_cmd, 1, 0, 2,
>   *      0    = Set nr_hw_queues by the number of CPUs or HW queues.
>   *      1,128 = Manually specify the maximum nr_hw_queue value to be set,
>   *
> - * Value range is [0,128]. Default value is 8.
> + * Value range is [0,256]. Default value is 8.
>   */

Shouldn't that "1,128 = Manually specify.." line also have been updated?

Not that I really care, and I'll pul this, but..

                      Linus

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

* Re: [GIT PULL] SCSI fixes for 5.3-rc7
  2019-09-06 20:39 [GIT PULL] SCSI fixes for 5.3-rc7 James Bottomley
  2019-09-06 23:18 ` Linus Torvalds
@ 2019-09-07  0:00 ` pr-tracker-bot
  1 sibling, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2019-09-07  0:00 UTC (permalink / raw)
  To: James Bottomley; +Cc: Andrew Morton, Linus Torvalds, linux-scsi, linux-kernel

The pull request you sent on Fri, 06 Sep 2019 16:39:12 -0400:

> git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1e3778cb223e861808ae0daccf353536e7573eed

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

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

* Re: [GIT PULL] SCSI fixes for 5.3-rc7
  2019-09-06 23:18 ` Linus Torvalds
@ 2019-09-07  0:13   ` James Smart
  0 siblings, 0 replies; 4+ messages in thread
From: James Smart @ 2019-09-07  0:13 UTC (permalink / raw)
  To: Linus Torvalds, James Bottomley; +Cc: Andrew Morton, linux-scsi, linux-kernel

On 9/6/2019 4:18 PM, Linus Torvalds wrote:
> On Fri, Sep 6, 2019 at 1:39 PM James Bottomley
> <James.Bottomley@hansenpartnership.com> wrote:
>>
>> diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
>> index 8d8c495b5b60..d65558619ab0 100644
>> --- a/drivers/scsi/lpfc/lpfc_attr.c
>> +++ b/drivers/scsi/lpfc/lpfc_attr.c
>> @@ -5715,7 +5715,7 @@ LPFC_ATTR_RW(nvme_embed_cmd, 1, 0, 2,
>>    *      0    = Set nr_hw_queues by the number of CPUs or HW queues.
>>    *      1,128 = Manually specify the maximum nr_hw_queue value to be set,
>>    *
>> - * Value range is [0,128]. Default value is 8.
>> + * Value range is [0,256]. Default value is 8.
>>    */
> Shouldn't that "1,128 = Manually specify.." line also have been updated?
>
> Not that I really care, and I'll pul this, but..
>
>                        Linus

Yes - thanks

-- james


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

end of thread, other threads:[~2019-09-07  0:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06 20:39 [GIT PULL] SCSI fixes for 5.3-rc7 James Bottomley
2019-09-06 23:18 ` Linus Torvalds
2019-09-07  0:13   ` James Smart
2019-09-07  0:00 ` pr-tracker-bot

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