[ENBD] bug eliminated in 2.4.34pre

Peter T. Breuer ptb at inv.it.uc3m.es
Thu Oct 4 15:02:22 MDT 2007


Porting enbd 2.4.34pre to an older 2.6.12.6 kernel exposed a bug that
had been lurking in it (not in stable 2.4.33, however).

One of the accounting changes (to put all accounting in well-defined
places) accidentally had moved a request accounting calculation to after
the request it accounted had been destroyed, and the accounting accessed
it. Ouch. Oops.

Fixed and uploaded at
ftp://oboe.it.uc3m.es/pub/Programs/enbd-2.4.34pre.tgz

I also took the opportunity to use getpagesize() in the client daemons
if PAGE_SIZE is not available (ARM, for example).

There's still a huge pause on startup in the 2.4.34 client daemon.  I'll
take a look for it. After the pause, it's fine :).

Peter


More information about the ENBD mailing list