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

Re: Pre-approval request for dpkg sync() changes for squeeze



On Sat, 2010-11-06 at 16:33:14 -0500, Jonathan Nieder wrote:
> Guillem Jover wrote:
> > The worst that could happen on other file systems w/o the sync()/fsync()
> > before rename()s for extracted files was that the dpkg database might
> > get slightly out of sync relative to what was installed on disk, but
> > that's at most confusing, nothing compared to getting zero-length files
> > all over the place.
> [...]
> > The zero-length problem should affect only new recently installed
> > systems with ext4 anyway.
> 
> To throw another variable in the works: doesn't ext4 fall in the same
> category as "other file systems" today?  See v2.6.30-rc1~416^2~15
> (ext4: Automatically allocate delay allocated blocks on rename,
> 2009-02-23).

Given <https://bugzilla.kernel.org/show_bug.cgi?id=15910> was filed
against 2.6.32-21-generic, no, I don't think so. Although it could have
been improved somehow with later versions, but then the bug report has
not been updated. Eric Sandeen's comment is relevant in that he states
applications cannot rely on not using fsync() for ext4.

regards,
guillem


Reply to: