how to limit number of sectors each time

From: gshan
Date: Wed Oct 15 2008 - 23:30:21 EST


Hi All,

I want to limit requested sectors each time in function drivers/ide/ide-disk.c::__ide_do_rw_disk. The requested
sectors were defined in rq->nr_sectors. So how to limit or decrease nr_sectors for data transfer each time?

Thanks in advance,
Gavin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/