tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: swap-on-raidframe vs raidctl -P

>>> Couldn't raidframe just register a shutdown hook (or whatever it's
>>> called now) that would forcibly close devices ?

Sure, but...

> No, but forcibly closing the raid device could solve other problems
> too, like (I suspect, I didn't try it) cgd on raid.

Until cgd registers a similar shutdown hook, and then some system has
both cgd-on-raid and raid-on-cgd (not necessarily the same raid/cgd
instances).  Something that works per-driver with a single order of
hook execution *can't* get that right; it has to be either per-instance
or iterative.

/~\ The ASCII                           der Mouse
\ / Ribbon Campaign
 X  Against HTML     
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index