scsi-mq: Don't set QUEUE_FLAG_NONROT in scsi_mq_alloc_queue().
PATCH 3/6 scsi-mq: Don't set QUEUE_FLAG_NONROT in scsi_mq_alloc_queue().
This flag will be set in sd_revalidate_disk().So remove this operation.
Signed-off-by Jianpeng Ma <[email protected]>
--- drivers/scsi/scsi-mq.c | 2 -- 1 file changed, 2 deletions(-)
drivers/scsi/scsi-mq.c +0 -2
@@ -206,8 +206,6 @@ int scsi_mq_alloc_queue(struct Scsi_Host *sh, struct scsi_device *sdev) } } } -//FIXME: Check for !NONROT usage -queue_flag_set_unlocked (QUEUE_FLAG_NONROT , q);printk ("scsi_mq_alloc_queue() complete !! >>>>>>>>>>>>>>>>>>>>>>>>>>>\n" );return 0 ;
Signature · 1 line
1.7.10.4
Nicholas A. Bellinger
AppliedQuoted 7 lines · majianpeng
This flag will be set in sd_revalidate_disk().So remove this operation.
Signed-off-by Jianpeng Ma <[email protected]>--- drivers/scsi/scsi-mq.c | 2 -- 1 file changed, 2 deletions(-)
Applied, + squashed into current target-pending/scsi-mq code.
Thanks Jianpeng!
--nab
Quoted 13 lines
drivers/scsi/scsi-mq.c +0
-2@@ -206,8 +206,6 @@ int scsi_mq_alloc_queue(struct Scsi_Host *sh, struct scsi_device *sdev) } } } -//FIXME: Check for !NONROT usage -queue_flag_set_unlocked (QUEUE_FLAG_NONROT , q);printk ("scsi_mq_alloc_queue() complete !! >>>>>>>>>>>>>>>>>>>>>>>>>>>\n" );return 0 ;