From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Long Li <longli@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"Martin K . Petersen" <martin.petersen@oracle.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
"James E . J . Bottomley" <JBottomley@odin.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Michael Kelley (EOSG)" <Michael.H.Kelley@microsoft.com>,
"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
Long Li <longli@linuxonhyperv.com>
Subject: Re: [PATCH v2] storvsc: Set up correct queue depth values for IDE devices
Date: Wed, 18 Apr 2018 23:35:19 -0400 [thread overview]
Message-ID: <yq1bmefna14.fsf@oracle.com> (raw)
In-Reply-To: <MWHPR2101MB072978A101FEFBCF2D32E872CEB60@MWHPR2101MB0729.namprd21.prod.outlook.com> (Long Li's message of "Wed, 18 Apr 2018 23:18:21 +0000")
Long,
> Can you take a look at the following patch?
>> > + max_sub_channels =
>> > + (num_cpus - 1) / storvsc_vcpus_per_sub_channel;
What happens if num_cpus = 1?
--
Martin K. Petersen Oracle Linux Engineering
WARNING: multiple messages have this Message-ID (diff)
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Long Li <longli@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"Martin K . Petersen" <martin.petersen@oracle.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
"James E . J . Bottomley" <JBottomley@odin.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Michael Kelley \(EOSG\)" <Michael.H.Kelley@microsoft.com>,
"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
Long Li <longli@linuxonhyperv.com>
Subject: Re: [PATCH v2] storvsc: Set up correct queue depth values for IDE devices
Date: Wed, 18 Apr 2018 23:35:19 -0400 [thread overview]
Message-ID: <yq1bmefna14.fsf@oracle.com> (raw)
In-Reply-To: <MWHPR2101MB072978A101FEFBCF2D32E872CEB60@MWHPR2101MB0729.namprd21.prod.outlook.com> (Long Li's message of "Wed, 18 Apr 2018 23:18:21 +0000")
Long,
> Can you take a look at the following patch?
>> > + max_sub_channels =
>> > + (num_cpus - 1) / storvsc_vcpus_per_sub_channel;
What happens if num_cpus = 1?
--
Martin K. Petersen Oracle Linux Engineering
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
next prev parent reply other threads:[~2018-04-19 3:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-22 21:47 [PATCH v2] storvsc: Set up correct queue depth values for IDE devices Long Li
2018-03-22 21:47 ` Long Li
2018-03-24 16:50 ` Michael Kelley (EOSG)
2018-03-24 16:50 ` Michael Kelley (EOSG)
2018-04-18 23:18 ` Long Li
2018-04-18 23:18 ` Long Li
2018-04-19 3:35 ` Martin K. Petersen [this message]
2018-04-19 3:35 ` Martin K. Petersen
2018-04-19 4:59 ` Long Li
2018-04-19 4:59 ` Long Li
2018-04-20 19:36 ` Martin K. Petersen
2018-04-20 19:36 ` Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq1bmefna14.fsf@oracle.com \
--to=martin.petersen@oracle.com \
--cc=JBottomley@odin.com \
--cc=Michael.H.Kelley@microsoft.com \
--cc=devel@linuxdriverproject.org \
--cc=haiyangz@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=longli@linuxonhyperv.com \
--cc=longli@microsoft.com \
--cc=sthemmin@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.