Messages in this thread | | | Date | Wed, 16 May 2001 14:58:00 +0200 | From | Jens Axboe <> | Subject | Re: 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/
| |