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:

committed by
Martin K. Petersen

parent
4dd4130a72
commit
2a3d4eb8e2
@@ -1007,7 +1007,6 @@ static struct scsi_host_template pvscsi_template = {
|
||||
.sg_tablesize = PVSCSI_MAX_NUM_SG_ENTRIES_PER_SEGMENT,
|
||||
.dma_boundary = UINT_MAX,
|
||||
.max_sectors = 0xffff,
|
||||
.use_clustering = ENABLE_CLUSTERING,
|
||||
.change_queue_depth = pvscsi_change_queue_depth,
|
||||
.eh_abort_handler = pvscsi_abort,
|
||||
.eh_device_reset_handler = pvscsi_device_reset,
|
||||
|
Reference in New Issue
Block a user