[ENBD] /proc/nbdinfo
Peter T. Breuer
ptb at it.uc3m.es
Wed Jan 7 08:21:27 MST 2004
"Also sprach Julien Rennard:"
>
> > I'll try the more "brutal" solution !
> It's works !
Well, it does what you want, which in my view is excessive :-). I would
have preferred just wiping out the signature, and maybe the size and
buffer info, as well as resetting the counters.
There are some race conditions leading up to the destroy, btw.
And a bit of a memleak under some circumstances. But nothing serious.
If you post that routine you added here, I'll make it a bit more
robust.
> Now just a little thing if I have well understood echo reset >
> /proc/nbdinfo should "reset" all nbd device.
It's "reset=1".
And stand well back.
> But if i try that enbd
> complain about a wrong command any idea ?
Peter
More information about the ENBD
mailing list