Re: kiobuf question

From: Stephen C. Tweedie (sct@redhat.com)
Date: Mon Apr 17 2000 - 12:32:13 EST


Hi,

On Mon, Apr 17, 2000 at 06:09:03PM +0200, Manfred Spraul wrote:
> "Stephen C. Tweedie" wrote:
> >
> > > And I don't understand why we have b_kiobuf at all: AFAICS the kiobuf
> > > functions could use b_dev_id.
> >
> > I wondered about that, but there's a problem if any device drivers
> > want to use that field themselves. In particular, if lvm or soft
> > raid decides to start using that field in buffer_heads passed into
> > those drivers, we're in trouble.
> >
> soft raid creates a new buffer head, and uses b_dev_id in that new
> buffer_head. I'll check lvm.

I can't see any problem in LVM either for now, but I avoided b_dev_id
because there isn't a clear-cut guideline on the restrictions on its
use.

--Stephen

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



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:11 EST