Re: [PATCH] scsi_debug: disable clustering

Matthew Wilcox
2008-02-17T14:10:46Z

On Sat, Feb 16, 2008 at 11:57:15PM +0900, FUJITA Tomonori wrote:
> 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).

Why not? Is KM_USER0 used for something else with clstering enabled?

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."