Arnd Bergmann writes:
> A handful of drivers all have a trivial wrapper around their ioctl
> handler, but don't call the compat_ptr() conversion function at the
> moment. In practice this does not matter, since none of them are used
> on the s390 architecture and for all other architectures, comp
blk-mq does not support runtime pm, so disable blk-mq support for now.
Fixes: d5038a13eca7 ("scsi: core: switch to scsi-mq by default")
Signed-off-by: Adrian Hunter
---
drivers/scsi/ufs/ufshcd.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/u
On Thu, Sep 13, 2018 at 02:28:48PM +0300, Adrian Hunter wrote:
> blk-mq does not support runtime pm, so disable blk-mq support for now.
So could you describe a bit what the issue you are trying to fix?
This is host level runtime PM you are trying to address, and if blk-mq
runtime isn't enabled, I
Prepare for converting the flag of BLK_MQ_F_NO_SCHED into per-queue
flag, since the following patches need this way for supporting per-host
admin queue.
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bart Van Assche
Cc: Jianchao Wang
Cc: Hannes Reinecke
Cc: Johannes Thumshirn
Cc: Adrian Hunter
Cc
Prepare for introduing per-host admin queue.
The most important part is that the request originated from admin queue
can't be called back to the IO queue associated with scsi_device, especially,
one request may be requeued, timedout or completed via block layer helper, so
what we should do is to u
Not necessary to reserve tags for admin queue since there isn't
many inflight commands in admin queue usually.
This change won't starve admin queue too because each blocked queue
has equal priority to get one new tag when one driver tag is released,
no matter it is freed from any queue.
So that I
This patch prepares for introducing SCSI per-host admin queue, which
is only used for queuing admin requests, which are now submitted via
__scsi_execute().
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bart Van Assche
Cc: Jianchao Wang
Cc: Hannes Reinecke
Cc: Johannes Thumshirn
Cc: Adrian Hunter
Now all users of QUEUE_FLAG_NO_SCHED is for admin queue only, and not
see any drivers need this flag for IO queue.
So rename it as QUEUE_FLAG_ADMIN, which looks more straightforward.
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bart Van Assche
Cc: Jianchao Wang
Cc: Hannes Reinecke
Cc: Johannes T
Uses scsi_is_admin_queue() and scsi_get_scsi_dev() to retrieve
'scsi_device' for legacy path.
The same approach can be used in SCSI_MQ path too, just not very efficiently,
and will deal with that in the patch when introducing admin queue for SCSI_MQ.
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bar
We need to support admin queue for scsi host, and not like NVMe,
this support is only from logic view, and the admin queue still has
to share same tags with IO queues.
Convert BLK_MQ_F_NO_SCHED into per-queue flag so that we can support
admin queue for SCSI.
Cc: Alan Stern
Cc: Christoph Hellwig
Now the per-host dedicated admin queue is ready, so use this queue to
send admin commands only.
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bart Van Assche
Cc: Jianchao Wang
Cc: Hannes Reinecke
Cc: Johannes Thumshirn
Cc: Adrian Hunter
Cc: "James E.J. Bottomley"
Cc: "Martin K. Petersen"
Cc: l
Firstly we have to make sure that all pending admin commands to
one same scsi_device are completed before removing the scsi_device.
Secondly scsi_internal_device_block() needs this too.
So introduce one waitqueue and atomic counter for this purpose.
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bar
We have to preempt freeze queue in scsi_device_quiesce(),
and unfreeze in scsi_device_resume(), so call scsi_device_resume()
for the device which is quiesced by scsi_device_quiesce().
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bart Van Assche
Cc: Jianchao Wang
Cc: Hannes Reinecke
Cc: Johannes T
.queuedata is set in scsi_alloc_sdev() for both non-mq and scsi_mq,
so not necessary to do it in scsi_mq_alloc_queue().
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bart Van Assche
Cc: Jianchao Wang
Cc: Hannes Reinecke
Cc: Johannes Thumshirn
Cc: Adrian Hunter
Cc: "James E.J. Bottomley"
Cc: "Ma
When request originated from admin queue isn't queued successfully, we
deal with it just like for normal requests, that said the admin queue
will be rerun after one request in this host is completed.
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bart Van Assche
Cc: Jianchao Wang
Cc: Hannes Reinecke
The created admin queue will be used to send internal admin commands,
so we can simplify the sync between some admin commands and IO requests,
typical examples are system suspend and runtime PM.
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bart Van Assche
Cc: Jianchao Wang
Cc: Hannes Reinecke
Cc:
This patchset will introduce per-host admin queue, so it may not to get
'scsi_device' via q->queuedata.
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: Bart Van Assche
Cc: Jianchao Wang
Cc: Hannes Reinecke
Cc: Johannes Thumshirn
Cc: Adrian Hunter
Cc: "James E.J. Bottomley"
Cc: "Martin K. Petersen
Now blk-mq can borrow the runtime PM approach from legacy path, so
enable it simply. The only difference with legacy is that:
1) blk_mq_queue_sched_tag_busy_iter() is introduced for checking if queue
is idle, instead of maintaining one counter.
2) we have to iterate over scheduler tags for counti
All admin commands are sent via per-host admin queue, so we can simply
freeze the IO queue for quiescing scsi device.
Also the current SCSI stack guarantees that any request originated from
admin queue won't be called back to block layer via the associated IO queue,
and it is always dealt with by
This patch simplifies runtime PM support by the following approach:
1) resume device in blk_queue_enter() if this device is
runtime-suspended or runtime-suspending
2) freeze queue in blk_pre_runtime_suspend()
3) unfreeze queue in blk_pre_runtime_resume()
4) remove checking on RRF_PM because now
On 13/09/18 15:05, Ming Lei wrote:
> On Thu, Sep 13, 2018 at 02:28:48PM +0300, Adrian Hunter wrote:
>> blk-mq does not support runtime pm, so disable blk-mq support for now.
>
> So could you describe a bit what the issue you are trying to fix?
UFS is a low-power solution, so we must be able to ru
On Thu, Sep 13, 2018 at 03:15:39PM +0300, Adrian Hunter wrote:
> On 13/09/18 15:05, Ming Lei wrote:
> > On Thu, Sep 13, 2018 at 02:28:48PM +0300, Adrian Hunter wrote:
> >> blk-mq does not support runtime pm, so disable blk-mq support for now.
> >
> > So could you describe a bit what the issue you
Hi Ming
On 09/13/2018 08:15 PM, Ming Lei wrote:
> EXPORT_SYMBOL(__scsi_execute);
> @@ -3246,6 +3251,7 @@ static int scsi_internal_device_block(struct
> scsi_device *sdev)
> else
> scsi_wait_for_queuecommand(sdev);
> }
> + wait_event(sdev->admin_wq, !
On Sun, Sep 9, 2018 at 4:52 AM, Ming Lei wrote:
> On Thu, Sep 06, 2018 at 01:37:19PM -0700, Xuewei Zhang wrote:
>> Currently a scsi device won't contribute to kernel randomness when it
>> uses blk-mq. Since we commonly use scsi on rotational device with
>> blk-mq, it make sense to keep contributin
On 14/09/18 04:52, Ming Lei wrote:
> On Thu, Sep 13, 2018 at 03:15:39PM +0300, Adrian Hunter wrote:
>> On 13/09/18 15:05, Ming Lei wrote:
>>> On Thu, Sep 13, 2018 at 02:28:48PM +0300, Adrian Hunter wrote:
blk-mq does not support runtime pm, so disable blk-mq support for now.
>>>
>>> So could y
On Thu, Sep 13, 2018 at 3:44 AM YueHaibing wrote:
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/scsi/pm8001/pm8001_sas.c: In function
> 'pm8001_I_T_nexus_event_handler':
> drivers/scsi/pm8001/pm8001_sas.c:1052:6: warning:
> variable 'device_id' set but not used [-Wunused-but-set
This patch series adds support for UFS QMP PHY on SDM845 and the
compatible string for it. This patch series depends on the current
proposed QMP V3 USB3 UNI PHY support for sdm845 driver [1], on
the DT bindings for the QMP V3 USB3 PHYs based dirver [2], and also
rebased on updated pipe_clk initiali
This patch series adds support for UFS QMP PHY on SDM845 and the
compatible string for it. This patch series depends on the current
proposed QMP V3 USB3 UNI PHY support for sdm845 driver [1], on
the DT bindings for the QMP V3 USB3 PHYs based dirver [2], and also
rebased on updated pipe_clk initiali
On Wed, Sep 12, 2018 at 03:31:07PM +0530, Sreekanth Reddy wrote:
> On Wed, Sep 5, 2018 at 1:08 PM, Lukas Wunner wrote:
> > On Wed, Sep 05, 2018 at 11:45:45AM +0530, Sreekanth Reddy wrote:
> > > I have one more instance where still we need this poll kthread, i.e
> > > during the device probe time w
Hi,
We are waiting for your photos.
Please send photos to hansre...@outlook.com for further editing.
Our team is ready to edit your photos. Do you have photos for editing?
We are team who can do following work for you.
Cutting out your photos, or retouching if needed.
It is for products photos
If number of interrupt vectors are more than num_online_cpus()
then pci_alloc_irq_vectors_affinity() assigns cpumask based
on num_possible_cpus() to the remaining vectors because of
this interrupts are not generating for these vectors.
This patch fixes this issue by using pci_alloc_irq_vectors()
i
Add IEEE and CEE DCBX support for iSCSI connections.
Signed-off-by: Rohit Maheshwari
Signed-off-by: Varun Prakash
---
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 154 -
drivers/scsi/cxgbi/libcxgbi.h | 3 +
2 files changed, 156 insertions(+), 1 deletion(-)
di
On 9/12/2018 4:28 PM, James Smart wrote:
The driver currently uses the ndlp to get the local rport which is
then used to get the nvme transport remoteport pointer. There can
be cases where a stale remoteport pointer is obtained as
synchronization isn't done through the different dereferences.
Co
The driver currently uses the ndlp to get the local rport which is
then used to get the nvme transport remoteport pointer. There can
be cases where a stale remoteport pointer is obtained as
synchronization isn't done through the different dereferences.
Correct by using locks to synchronize the der
On 09/04/2018 12:19 PM, Greg Edwards wrote:
> When T10 PI is enabled on a backing device for the iblock backstore, the
> PI SGL for the entire command is attached to the first bio only. This
> works fine if the command is covered by a single bio, but can result in
> ref tag errors in the client fo
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/scsi/pm8001/pm80xx_hwi.c: In function 'pm8001_set_phy_profile':
drivers/scsi/pm8001/pm80xx_hwi.c:4679:6: warning:
variable 'page_code' set but not used [-Wunused-but-set-variable]
Signed-off-by: YueHaibing
---
drivers/scsi/pm8001/pm80xx_hw
Use kmemdup rather than duplicating its implementation
Signed-off-by: YueHaibing
---
drivers/message/fusion/mptbase.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
index dc1e43a..a32d3d0 100644
--- a/driv
Use kmemdup rather than duplicating its implementation
Signed-off-by: YueHaibing
---
drivers/scsi/aic7xxx/aic7xxx_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c
b/drivers/scsi/aic7xxx/aic7xxx_core.c
index f3362f4..8549f1e 10064
Use kmemdup rather than duplicating its implementation
Signed-off-by: YueHaibing
---
drivers/scsi/aic7xxx/aic79xx_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c
b/drivers/scsi/aic7xxx/aic79xx_core.c
index 9ee75c9..0970bb5 10064
Compliment of the day to you Dear Friend.
Dear Friend.
I am Mrs. Amina Kadi. am sending this brief letter to solicit your
partnership to transfer $5.5 million US Dollars. I shall send you
more information and procedures when I receive positive response from
you.
Mrs. Amina Kadi
40 matches
Mail list logo