Re: [PATCH v4 5/9] Documentation: add a new file documenting multigrain timestamps

From: Randy Dunlap
Date: Tue Jul 09 2024 - 19:51:20 EST




On 7/8/24 8:53 AM, Jeff Layton wrote:
> Add a high-level document that describes how multigrain timestamps work,
> rationale for them, and some info about implementation and tradeoffs.
>
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---
> Documentation/filesystems/multigrain-ts.rst | 120 ++++++++++++++++++++++++++++
> 1 file changed, 120 insertions(+)
>
> diff --git a/Documentation/filesystems/multigrain-ts.rst b/Documentation/filesystems/multigrain-ts.rst
> new file mode 100644
> index 000000000000..e4f52a9e3c51
> --- /dev/null
> +++ b/Documentation/filesystems/multigrain-ts.rst
> @@ -0,0 +1,120 @@

> +Inode Timestamp Ordering
> +========================
> +
> +In addition just providing info about changes to individual files, file

In addition to just

> +timestamps also serve an important purpose in applications like "make". These
> +programs measure timestamps in order to determine whether source files might be
> +newer than cached objects.