[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: swap-on-raidframe vs raidctl -P
On Tue, Jan 22, 2008 at 04:15:28PM -0500, Christos Zoulas wrote:
> On Jan 22, 9:50pm, bouyer%antioche.eu.org@localhost (Manuel Bouyer) wrote:
> -- Subject: Re: swap-on-raidframe vs raidctl -P
> | On Tue, Jan 22, 2008 at 03:38:00PM +0000, Christos Zoulas wrote:
> | > I am working on a patch that unconfigures swap on shutdown. I am having
> | > some trouble with it, because of the state of flux that vnode reference
> | > counting is in, but I hope to commit it as soon as it works.
> | Couldn't raidframe just register a shutdown hook (or whatever it's called
> | that would forcibly close devices ? I guess at the time shutdown hooks
> | are run, filesystems have already been unmounted, isn't it ?
> | shutdown hooks have to be run before interrupts are disabled though, I'm
> | not sure it's the case.
> Is there something wrong with unconfiguring swap all the time, like we unmount
> fs's all the time?
No, but forcibly closing the raid device could solve other problems too,
like (I suspect, I didn't try it) cgd on raid.
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |