On Mon, 29 Nov 2010, Theodore Tso wrote: > BTW, if you had opened the file handle in subsequent passes using > O_RDONLY|O_NOATIME, the use of fdatasync() instead of fsync() might not > have been necessary. And as far as the comments in patch #4 was
Hum, fsync()/fdatasync() require a fd opened for writing, so this is not really possible? (Or at least the man page says so and indicates EBADF as return value in that case) Cheers, -- Raphaël Hertzog ◈ Debian Developer Follow my Debian News ▶ http://RaphaelHertzog.com (English) ▶ http://RaphaelHertzog.fr (Français) -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101129134611.ge24...@rivendell.home.ouaza.com