Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] ps3rom: disable clustering

ps3rom does:

scsi_for_each_sg(cmd, sgpnt, scsi_sg_count(cmd), k) {
kaddr = kmap_atomic(sg_page(sgpnt), KM_IRQ0);

We cannot do something like that with the clustering enabled (or we
can use scsi_kmap_atomic_sg).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

FUJITA Tomonori and committed by
James Bottomley
57fd2b6c 67768f67

+1 -1
+1 -1
drivers/scsi/ps3rom.c
··· 427 427 .cmd_per_lun = 1, 428 428 .emulated = 1, /* only sg driver uses this */ 429 429 .max_sectors = PS3ROM_MAX_SECTORS, 430 - .use_clustering = ENABLE_CLUSTERING, 430 + .use_clustering = DISABLE_CLUSTERING, 431 431 .module = THIS_MODULE, 432 432 }; 433 433