Re: HEADSUP: bioops patch.

2000-06-18 Thread Luoqi Chen
Background: Ideally struct buf should have had a real OO like operations vector like vnodes have it, and struct bioops is the first step towards that. struct buf will eventually become merely an iocmd structure, so why do we want to complicate things here? No, struct buf will

Re: HEADSUP: bioops patch.

2000-06-16 Thread Luoqi Chen
Background: The bioops operation vector is a list of OO-like operations which can be performed on struct buf. They are used by the softupdates code to handle dependencies. Ideally struct buf should have had a real OO like operations vector like vnodes have it, and struct bioops is the

Re: HEADSUP: bioops patch.

2000-06-16 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Luoqi Chen write s: Background: Ideally struct buf should have had a real OO like operations vector like vnodes have it, and struct bioops is the first step towards that. struct buf will eventually become merely an iocmd structure, so why do we want to

Re: HEADSUP: bioops patch.

2000-06-16 Thread Nick Hibma
What about using uppercase names for buf_complete - BUF_COMPLETE and friends to make it apparent that an indirect call is being made and that the function might not be supported on that struct buf. Much like newbus, kobj, and vnode ops. Nick On Wed, 14 Jun 2000, Poul-Henning Kamp

HEADSUP: bioops patch.

2000-06-14 Thread Poul-Henning Kamp
This patch virtualizes untangles the bioops operations vector. Background: The bioops operation vector is a list of OO-like operations which can be performed on struct buf. They are used by the softupdates code to handle dependencies. Ideally struct buf should have had a real OO like