diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-13 10:17:02 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-18 23:13:12 -0500 |
commit | 2a3d4eb8e228061c09d5ca8bf39e7f00c2091213 (patch) | |
tree | 867ce9fbb2ecee876580bb728ef3affb3e1b41d3 /include/linux/libata.h | |
parent | 4dd4130a722fb046e941010cf5576aed252bb58a (diff) |
scsi: flip the default on use_clustering
Most SCSI drivers want to enable "clustering", that is merging of
segments so that they might span more than a single page. Remove the
ENABLE_CLUSTERING define, and require drivers to explicitly set
DISABLE_CLUSTERING to disable this feature.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 38c95d66ab12..68133842e6d7 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -135,7 +135,6 @@ enum { | |||
135 | 135 | ||
136 | ATA_SHT_EMULATED = 1, | 136 | ATA_SHT_EMULATED = 1, |
137 | ATA_SHT_THIS_ID = -1, | 137 | ATA_SHT_THIS_ID = -1, |
138 | ATA_SHT_USE_CLUSTERING = 1, | ||
139 | 138 | ||
140 | /* struct ata_taskfile flags */ | 139 | /* struct ata_taskfile flags */ |
141 | ATA_TFLAG_LBA48 = (1 << 0), /* enable 48-bit LBA and "HOB" */ | 140 | ATA_TFLAG_LBA48 = (1 << 0), /* enable 48-bit LBA and "HOB" */ |
@@ -1360,7 +1359,6 @@ extern struct device_attribute *ata_common_sdev_attrs[]; | |||
1360 | .tag_alloc_policy = BLK_TAG_ALLOC_RR, \ | 1359 | .tag_alloc_policy = BLK_TAG_ALLOC_RR, \ |
1361 | .this_id = ATA_SHT_THIS_ID, \ | 1360 | .this_id = ATA_SHT_THIS_ID, \ |
1362 | .emulated = ATA_SHT_EMULATED, \ | 1361 | .emulated = ATA_SHT_EMULATED, \ |
1363 | .use_clustering = ATA_SHT_USE_CLUSTERING, \ | ||
1364 | .proc_name = drv_name, \ | 1362 | .proc_name = drv_name, \ |
1365 | .slave_configure = ata_scsi_slave_config, \ | 1363 | .slave_configure = ata_scsi_slave_config, \ |
1366 | .slave_destroy = ata_scsi_slave_destroy, \ | 1364 | .slave_destroy = ata_scsi_slave_destroy, \ |