diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-13 10:17:09 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-18 23:19:21 -0500 |
commit | 4af14d113bcf95c12d1462ba623b7e7117bd3fb3 (patch) | |
tree | dc47d35c7adea6f5d250ad9206a653b322568123 /drivers/target | |
parent | 1c3726ad30938725a53f471d7967abfd6838330f (diff) |
scsi: remove the use_clustering flag
The same effects can be achieved by setting the dma_boundary to
PAGE_SIZE - 1 and the max_segment_size to PAGE_SIZE, so shift those
settings into the drivers. Note that in many cases the setting might
be bogus, but this keeps the status quo.
[mkp: fix myrs and myrb]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/loopback/tcm_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index b0991e86587f..7bd7c0c0db6f 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
@@ -324,7 +324,7 @@ static struct scsi_host_template tcm_loop_driver_template = { | |||
324 | .sg_tablesize = 256, | 324 | .sg_tablesize = 256, |
325 | .cmd_per_lun = 1024, | 325 | .cmd_per_lun = 1024, |
326 | .max_sectors = 0xFFFF, | 326 | .max_sectors = 0xFFFF, |
327 | .use_clustering = DISABLE_CLUSTERING, | 327 | .dma_boundary = PAGE_SIZE - 1, |
328 | .slave_alloc = tcm_loop_slave_alloc, | 328 | .slave_alloc = tcm_loop_slave_alloc, |
329 | .module = THIS_MODULE, | 329 | .module = THIS_MODULE, |
330 | .track_queue_depth = 1, | 330 | .track_queue_depth = 1, |