Re: ext3 IO latency measurements (was: Linux 2.6.29)

Theodore Tso
2009-03-26T17:08:00Z

On Thu, Mar 26, 2009 at 09:20:14AM -0700, Linus Torvalds wrote:
>
>
> On Thu, 26 Mar 2009, Theodore Tso wrote:
> >
> > Most distributions are putting relatime into /etc/fstab by
> > default, but we haven't changed the mount option.
>
> I don't think this is true. Fedora certainly does not. Not in F10, not in
> F11.

Ubuntu does. I thought Fedora had, but I stand corrected.

> And quite frankly, even if you then _manually_ put 'relatime' in
> /etc/fstab, the default Fedora install will totally ignore it. Why?
> Because it mounts the root partition while using initrd, and totally
> ignores /etc/fstab.

You can, actually, but it requires hacking /boot/grub/menu.list. The
boot command option "rootflags=noatime" should do it, if their initrd
scripts are at all sane (and they honor rootfstype, so they probably
do also honor rootflags).

The question is whether we can make Fedora 11 and OpenSUSE do the
right thing now that this has become a highly visible discussion. I'm
actually fairly optimistic on this front. (Maybe some distro folks
will care to chime in on whether upcoming releases of F11 and OpenSuSE
can be changed to DTRT?)

Actually, given where F11 is on its release schedule, I suspect it
would be *easier* for them to make a change to default boot options in
grub's menu.conf than it would be backport a kernel patch, since they
will be releasing their beta release within the week, and their final
development freeze is in less than two weeks.

- Ted