From: Christoph Hellwig Date: Thu, 13 Dec 2018 15:17:07 +0000 (+0100) Subject: scsi: mesh: remove DISABLE_CLUSTERING X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5bd6cd54bd01171176e8be510d429720a3fd2dce;p=openwrt%2Fstaging%2Fblogic.git 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 Tested-by: Paul Mackerras Signed-off-by: Martin K. Petersen --- 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)