Re: [RFC/PATCH 0/4] Re: Bug#605009: serious performance regression with ext4
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)
Reply to: