Hi!

On Mon, 2010-03-08 at 15:48:27 +0100, Jean-Baptiste Lallement wrote:
> Results from the tests against git rev.
> http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=62668eb
> 
> Test cases: crash after install/upgrade/removal/purge of a package.
> The status file is not synced, the previous version is kept and the
> directory /var/lib/dpkg/ contains the file status-new.
> This is due to a missing fsync on the directory.
> 
> This is a minor annoyance, since running 'dpkg --configure -a' fix it.

This should be fixed now with the database dir sync patch.

> On the performance side, the installation of a package is a factor 2
> slower (1.8 to 2.2 depending on the number of files) than without
> the fsyncs.
> Test done with packages from 200 files up to 8200 files with an ATA
> Disk @5400rpm

That's a bit sad, but better to behave correctly than the possibility
of data loss or inconsistent installation states. And with the newer
file system types around I'm guessing this kind of problem is going to
be seen more often. We can always try to optimize it later on.

> Thanks for your work, guillem.

Thank you for the continuous testing, much appreciated.

regards,
guillem



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to