summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mesh.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-13 16:17:07 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-19 05:13:12 +0100
commit5bd6cd54bd01171176e8be510d429720a3fd2dce (patch)
treef1501de49d67d1be57b1686b5021e856174c9a1f /drivers/scsi/mesh.c
parentscsi: xen-scsifront: remove DISABLE_CLUSTERING (diff)
downloadlinux-5bd6cd54bd01171176e8be510d429720a3fd2dce.tar.xz
linux-5bd6cd54bd01171176e8be510d429720a3fd2dce.zip
scsi: mesh: remove DISABLE_CLUSTERING
mesh has no limitations on crossing pages for segments. Just make the 65535 byte segment size limit explicit, even if it matches the current block layer limit. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mesh.c')
-rw-r--r--drivers/scsi/mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mesh.c b/drivers/scsi/mesh.c
index ec6940f2fcb3..f3e182eb0970 100644
--- a/drivers/scsi/mesh.c
+++ b/drivers/scsi/mesh.c
@@ -1838,7 +1838,7 @@ static struct scsi_host_template mesh_template = {
.this_id = 7,
.sg_tablesize = SG_ALL,
.cmd_per_lun = 2,
- .use_clustering = DISABLE_CLUSTERING,
+ .max_segment_size = 65535,
};
static int mesh_probe(struct macio_dev *mdev, const struct of_device_id *match)