]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
scsi: make sure all drivers set the use_clustering flag
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 15:17:01 +0000 (16:17 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 19 Dec 2018 04:08:07 +0000 (23:08 -0500)
A few drivers were not setting the use_clustering flag at all and thus
default to disable.  Fix them up to explicitly set this field in
preparation for additional cleanups.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mvumi.c
drivers/scsi/myrb.c
drivers/scsi/myrs.c
drivers/scsi/stex.c
drivers/scsi/ufs/ufshcd.c
drivers/usb/storage/uas.c

index 3d2d026d1ccfb129c1a82835667104d45cb5bc9f..d0c3f867fc580ef933f9fd4850184e57857b535b 100644 (file)
@@ -2197,6 +2197,7 @@ static struct scsi_host_template mvumi_template = {
        .eh_timed_out = mvumi_timed_out,
        .eh_host_reset_handler = mvumi_host_reset,
        .bios_param = mvumi_bios_param,
+       .use_clustering = DISABLE_CLUSTERING,
        .this_id = -1,
 };
 
index aeb282f617c5c43fd182065e1fd9dbab7e6f69d5..f1abe38e3b3a59c3ae33f5b1b4885403fafd038d 100644 (file)
@@ -2236,6 +2236,7 @@ struct scsi_host_template myrb_template = {
        .shost_attrs            = myrb_shost_attrs,
        .sdev_attrs             = myrb_sdev_attrs,
        .this_id                = -1,
+       .use_clustering         = DISABLE_CLUSTERING,
 };
 
 /**
index 0264a2e2bc190e068832a89452215919b9b22c30..f47b36382afa7db4b672cf03db919ee179feab99 100644 (file)
@@ -1929,6 +1929,7 @@ struct scsi_host_template myrs_template = {
        .shost_attrs            = myrs_shost_attrs,
        .sdev_attrs             = myrs_sdev_attrs,
        .this_id                = -1,
+       .use_clustering         = DISABLE_CLUSTERING,
 };
 
 static struct myrs_hba *myrs_alloc_host(struct pci_dev *pdev,
index 95f370ad05e076f223a32e45a0cf4dd8e746a221..af9078320d4bec08f0e3976761282b4a8c0bb267 100644 (file)
@@ -1489,6 +1489,7 @@ static struct scsi_host_template driver_template = {
        .eh_abort_handler               = stex_abort,
        .eh_host_reset_handler          = stex_reset,
        .this_id                        = -1,
+       .use_clustering                 = DISABLE_CLUSTERING,
 };
 
 static struct pci_device_id stex_pci_tbl[] = {
index 751027d73cf334f0680c3bf96c168e051c376a1c..e5800da0053d0e265ce5c55fde963244d65b6f5f 100644 (file)
@@ -6982,6 +6982,7 @@ static struct scsi_host_template ufshcd_driver_template = {
        .max_host_blocked       = 1,
        .track_queue_depth      = 1,
        .sdev_groups            = ufshcd_driver_groups,
+       .use_clustering         = DISABLE_CLUSTERING,
 };
 
 static int ufshcd_config_vreg_load(struct device *dev, struct ufs_vreg *vreg,
index 1f7b401c4d041d44390f3fa519dd95b46aab1b42..6c75a0a50b3a87b740b85e28cd203cf77f16b388 100644 (file)
@@ -879,6 +879,7 @@ static struct scsi_host_template uas_host_template = {
        .this_id = -1,
        .sg_tablesize = SG_NONE,
        .skip_settle_delay = 1,
+       .use_clustering = DISABLE_CLUSTERING,
 };
 
 #define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \