Re: [PATCH 00/23] per device dirty throttling -v8

From: Ingo Molnar
Date: Sat Aug 04 2007 - 16:12:18 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> +#ifdef CONFIG_FASTATIME
> + if (!(flags & (MNT_NOATIME | MNT_NODIRATIME)))
> + mnt_flags |= MNT_RELATIME;
> +#endif

btw., "relatime" does not seem to make much of a difference, if i do
this:

ls -l x ; sync

on a "relatime" mounted filesystem ('x' is a regular file), then there's
disk IO for every such command. Only if i mount it noatime,nodiratime do
i get zero disk IO. Or my patch is wrong somehow.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/