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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to