[paludis-user] Paludis, ext4, delayed allocation, zero file length

Ciaran McCreesh ciaran.mccreesh at googlemail.com
Sun Oct 4 13:55:01 UTC 2009

On Sun, 04 Oct 2009 15:42:27 +0200
Rodolphe Rocca <maitrechang at gmail.com> wrote:
> After a reboot and a regular fsck, I found out that the
> /var/db/pkg/<category>/<package>/SLOT was empty (size 0) for a few
> packages that paludis was installing during the upgrade phase.
> This issue looks very much like the famous "ext4, delayed allocation
> and zero file length" issue.
> I've read many things about the subject, most of them written by the
> author of ext4, Theodore T'so.
> What I've read from Theodore and the fact that the corruption always
> happen on the same file (SLOT) makes me think that there may be an
> issue in paludis.
> Maybe a forgotten fsync after writing the SLOT file ?

No, it's unrelated. We don't fsync anything, at all.

Ciaran McCreesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.exherbo.org/pipermail/paludis-user/attachments/20091004/6e3002e4/attachment.asc>

More information about the paludis-user mailing list