[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fts: introduce FTS_NOATIME
From: |
Jim Meyering |
Subject: |
Re: [PATCH] fts: introduce FTS_NOATIME |
Date: |
Fri, 08 Jul 2011 18:55:35 +0200 |
Eric Blake wrote:
> This gives clients the option to try a non-invasive traversal,
> where merely visiting a directory does not update its timestamp,
> where such is supported by the kernel.
>
> Note that whiteout support and O_NOATIME support are orthogonal:
> there is no way to get O_NOATIME behavior when using __opendir2
> to visit whiteouts on BSD systems.
>
> * lib/fts_.h (FTS_NOATIME): New bit flag.
> (FTS_OPTIONMASK): Adjust.
> * lib/fts.c (diropen, fts_open, fts_build): Honor it.
> (fd_ring_check): Debug code unconditionally uses O_NOATIME.
> Needed for findutils bug http://savannah.gnu.org/bugs/?33724
This looks fine. Thanks!