]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
scsi: mesh: remove DISABLE_CLUSTERING
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 15:17:07 +0000 (16:17 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 19 Dec 2018 04:13:12 +0000 (23:13 -0500)
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>
drivers/scsi/mesh.c

index ec6940f2fcb3d9a56f7221b7f944eb676177699c..f3e182eb097049ee3c87ffb2a6cf6d1ceba8ff3d 100644 (file)
@@ -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)