lkml.org 
[lkml]   [2001]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LANANA: To Pending Device Number Registrants
On Wed, May 16 2001, Daniel Phillips wrote:
> On Tuesday 15 May 2001 17:34, Linus Torvalds wrote:
> > On Tue, 15 May 2001, Neil Brown wrote:
> > > Ofcourse setting the "queue" function that __blk_get_queue call to
> > > do a lookup of the minor and choose an appropriate queue for the
> > > "real" device wont work as you need to munge bh->b_rdev too.
> >
> > What I would do is:
> > - remove b_rdev completely.
>
> :-) And b_rsector too?

Way ahead of you, it's gone :-)

Neither of these are part of the buffer_head as a caching entity, they
belong purely in the I/O path. I'll show code in a day or two.

> > [...]
>
> > - replace is with b_index
> >
> > Then, the "get_queue" functions basically end up doing the mapping of
> >
> > b_dev -> <queue,b_index>
>
> To clarify, will be b_index be in the buffer_head or not?

It should not

--
Jens Axboe

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

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.138 / U:4.112 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site