Skip to content

Commit 4dd4130

Browse files
Christoph Hellwigmartinkpetersen
authored andcommitted
scsi: make sure all drivers set the use_clustering flag
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>
1 parent 8b2db98 commit 4dd4130

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

drivers/scsi/mvumi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,6 +2197,7 @@ static struct scsi_host_template mvumi_template = {
21972197
.eh_timed_out = mvumi_timed_out,
21982198
.eh_host_reset_handler = mvumi_host_reset,
21992199
.bios_param = mvumi_bios_param,
2200+
.use_clustering = DISABLE_CLUSTERING,
22002201
.this_id = -1,
22012202
};
22022203

drivers/scsi/myrb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2236,6 +2236,7 @@ struct scsi_host_template myrb_template = {
22362236
.shost_attrs = myrb_shost_attrs,
22372237
.sdev_attrs = myrb_sdev_attrs,
22382238
.this_id = -1,
2239+
.use_clustering = DISABLE_CLUSTERING,
22392240
};
22402241

22412242
/**

drivers/scsi/myrs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,6 +1929,7 @@ struct scsi_host_template myrs_template = {
19291929
.shost_attrs = myrs_shost_attrs,
19301930
.sdev_attrs = myrs_sdev_attrs,
19311931
.this_id = -1,
1932+
.use_clustering = DISABLE_CLUSTERING,
19321933
};
19331934

19341935
static struct myrs_hba *myrs_alloc_host(struct pci_dev *pdev,

drivers/scsi/stex.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,6 +1489,7 @@ static struct scsi_host_template driver_template = {
14891489
.eh_abort_handler = stex_abort,
14901490
.eh_host_reset_handler = stex_reset,
14911491
.this_id = -1,
1492+
.use_clustering = DISABLE_CLUSTERING,
14921493
};
14931494

14941495
static struct pci_device_id stex_pci_tbl[] = {

drivers/scsi/ufs/ufshcd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6982,6 +6982,7 @@ static struct scsi_host_template ufshcd_driver_template = {
69826982
.max_host_blocked = 1,
69836983
.track_queue_depth = 1,
69846984
.sdev_groups = ufshcd_driver_groups,
6985+
.use_clustering = DISABLE_CLUSTERING,
69856986
};
69866987

69876988
static int ufshcd_config_vreg_load(struct device *dev, struct ufs_vreg *vreg,

drivers/usb/storage/uas.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,7 @@ static struct scsi_host_template uas_host_template = {
879879
.this_id = -1,
880880
.sg_tablesize = SG_NONE,
881881
.skip_settle_delay = 1,
882+
.use_clustering = DISABLE_CLUSTERING,
882883
};
883884

884885
#define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \

0 commit comments

Comments
 (0)