mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-18 21:02:04 +00:00
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>
This commit is contained in:
parent
4dd4130a72
commit
2a3d4eb8e2
82 changed files with 4 additions and 110 deletions
|
@ -135,7 +135,6 @@ enum {
|
|||
|
||||
ATA_SHT_EMULATED = 1,
|
||||
ATA_SHT_THIS_ID = -1,
|
||||
ATA_SHT_USE_CLUSTERING = 1,
|
||||
|
||||
/* struct ata_taskfile flags */
|
||||
ATA_TFLAG_LBA48 = (1 << 0), /* enable 48-bit LBA and "HOB" */
|
||||
|
@ -1360,7 +1359,6 @@ extern struct device_attribute *ata_common_sdev_attrs[];
|
|||
.tag_alloc_policy = BLK_TAG_ALLOC_RR, \
|
||||
.this_id = ATA_SHT_THIS_ID, \
|
||||
.emulated = ATA_SHT_EMULATED, \
|
||||
.use_clustering = ATA_SHT_USE_CLUSTERING, \
|
||||
.proc_name = drv_name, \
|
||||
.slave_configure = ata_scsi_slave_config, \
|
||||
.slave_destroy = ata_scsi_slave_destroy, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue