[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081016054400.GN19428@kernel.dk>
Date: Thu, 16 Oct 2008 07:44:01 +0200
From: Jens Axboe <jens.axboe@...cle.com>
To: gshan <gshan@...atel-lucent.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: how to limit number of sectors each time
On Thu, Oct 16 2008, gshan wrote:
> 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?
Set max_sectors_kb in sysfs for that device or q->max_sectors
internally.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists