Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Martin K. Petersen
4dd4130a 8b2db98e

+6
+1
drivers/scsi/mvumi.c
··· 2197 2197 .eh_timed_out = mvumi_timed_out, 2198 2198 .eh_host_reset_handler = mvumi_host_reset, 2199 2199 .bios_param = mvumi_bios_param, 2200 + .use_clustering = DISABLE_CLUSTERING, 2200 2201 .this_id = -1, 2201 2202 }; 2202 2203
+1
drivers/scsi/myrb.c
··· 2236 2236 .shost_attrs = myrb_shost_attrs, 2237 2237 .sdev_attrs = myrb_sdev_attrs, 2238 2238 .this_id = -1, 2239 + .use_clustering = DISABLE_CLUSTERING, 2239 2240 }; 2240 2241 2241 2242 /**
+1
drivers/scsi/myrs.c
··· 1929 1929 .shost_attrs = myrs_shost_attrs, 1930 1930 .sdev_attrs = myrs_sdev_attrs, 1931 1931 .this_id = -1, 1932 + .use_clustering = DISABLE_CLUSTERING, 1932 1933 }; 1933 1934 1934 1935 static struct myrs_hba *myrs_alloc_host(struct pci_dev *pdev,
+1
drivers/scsi/stex.c
··· 1489 1489 .eh_abort_handler = stex_abort, 1490 1490 .eh_host_reset_handler = stex_reset, 1491 1491 .this_id = -1, 1492 + .use_clustering = DISABLE_CLUSTERING, 1492 1493 }; 1493 1494 1494 1495 static struct pci_device_id stex_pci_tbl[] = {
+1
drivers/scsi/ufs/ufshcd.c
··· 6982 6982 .max_host_blocked = 1, 6983 6983 .track_queue_depth = 1, 6984 6984 .sdev_groups = ufshcd_driver_groups, 6985 + .use_clustering = DISABLE_CLUSTERING, 6985 6986 }; 6986 6987 6987 6988 static int ufshcd_config_vreg_load(struct device *dev, struct ufs_vreg *vreg,
+1
drivers/usb/storage/uas.c
··· 879 879 .this_id = -1, 880 880 .sg_tablesize = SG_NONE, 881 881 .skip_settle_delay = 1, 882 + .use_clustering = DISABLE_CLUSTERING, 882 883 }; 883 884 884 885 #define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \