Subject: Re: new kpi proposal, sysdisk(9)
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Elad Efrat <elad@NetBSD.org>
List: tech-kern
Date: 12/28/2006 17:58:08
YAMAMOTO Takashi wrote:
>>> what you are proposing seems like another kind of open/close to me.
>>> VOP_OPEN and VOP_CLOSE are appropriate ways to handle them.
>>>
>>> YAMAMOTO Takashi
>> can you explain what VOP_OPEN() should we add flags to in case of swap
>> device or raidframe? I'm not sure I follow your logic just yet...
>>
>> -e.
> 
> in the case of swap, the one in swap_on().  i'm not sure about raidframe.
> 
> YAMAMOTO Takashi

raidframe can be a problem with your approach I'm afraid.

either way, I'm not going to add a parameter to all VOP_OPEN() calls for
this.

-e.