Skip to content

Commit 5bd6cd5

Browse files
Christoph Hellwigmartinkpetersen
authored andcommitted
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>
1 parent e08ea30 commit 5bd6cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/mesh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ static struct scsi_host_template mesh_template = {
18381838
.this_id = 7,
18391839
.sg_tablesize = SG_ALL,
18401840
.cmd_per_lun = 2,
1841-
.use_clustering = DISABLE_CLUSTERING,
1841+
.max_segment_size = 65535,
18421842
};
18431843

18441844
static int mesh_probe(struct macio_dev *mdev, const struct of_device_id *match)

0 commit comments

Comments
 (0)