On Mon, Nov 29, 2010 at 2:22 PM, Ian Jackson <ijack...@chiark.greenend.org.uk> wrote: > Olaf van der Spek writes ("Re: Bug#605009: serious performance regression > with ext4"): >> Are there any plans to provide an API for atomic (non-durable) file >> updates, not involving fsync? > > Yes. Such an API has already been defined by POSIX, SuSv3, et al. > It's called "rename".
Probably not an issue for dpkg, but in general: Don't you reset meta-data that way? Require a second file (name), permission to write to it and assume it's on the same volume? Olaf -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktikwmnoazspu8pqxb4rqqdg+v9xmrm7xsvozx...@mail.gmail.com