Re: gendisk list, request queue of gendisks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 23, 2007 at 05:05:24PM +0200, Erik Mouw wrote:
> On Wed, May 23, 2007 at 09:51:37PM +0900, Seongsu Lee wrote:
> > On Mon, May 21, 2007 at 12:04:49PM +0200, Erik Mouw wrote:
> > > On Mon, May 21, 2007 at 07:46:39AM +0900, Seongsu Lee wrote:
> > > > How can I override the request function of a gendisk?
> > > 
> > > Why do you want to override it in the first place? What is the goal?
> > > Maybe there are much better ways to achieve what you try to do.
> > 
> > What I want to do is to use my own do_request function which 
> > redirect I/O request into physically another device under the
> > condition.
> 
> Why don't you just use LVM instead?

In my experimental environment, the 'another device' can be
MTD device or network-based device. So, I need my own 
do_request() function which switches between block devices
and non-block devices under the condition. For now, 
the condition will be derived from the each device's 
characteristics. (latency, capacity and so on.)

It would be great if LVM support non block devices also.

-- 
Seongsu's personal blog - http://www.senux.com/
"Are [Linux users] lemmings collectively jumping off
of the cliff of reliable, well-engineered commercial
software?" (By Matt Welsh)

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux