Re: LANANA: To Pending Device Number Registrants

Daniel Phillips
2001-05-16T01:01:30Z

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?

> [...]

> - 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?

--
Daniel