[SCSI] scsi_debug: disable clustering
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sat, 16 Feb 2008 14:57:15 +0000 (23:57 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 18 Feb 2008 14:57:16 +0000 (08:57 -0600)
commitcbccc207128e8bbdb047f6c5fc261acf207749c1
tree83267cbfc63000f235312196308d0efac1f76019
parent0e935c9ebacf2f54ab1226192d1a62f7ea1b9303
[SCSI] scsi_debug: disable clustering

scsi_debug does at several places:

for_each_sg(sdb->table.sgl, sg, sdb->table.nents, k) {
kaddr = (unsigned char *)
kmap_atomic(sg_page(sg), KM_USER0);

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>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_debug.c