bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #33724] Find command is changing the access time of directory


From: Paul Eggert
Subject: Re: [bug #33724] Find command is changing the access time of directory
Date: Sat, 29 Sep 2018 17:01:06 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Bernhard Voelker wrote:
So regarding gnulib, there are 2 alternatives:

a) rename FTS_NOATIME to FTS_NOATIME, and add a retry to open/openat
in each place when that was using O_NOATIME and we got EPERM.

I didn't quite get the point of the rename; those two identifiers look identical to me.

The original commit said that FTS_NOATIME was intended to be best effort, and that FTS_NOATIME would be ineffective in some cases. If that's the intent, retrying would implement it.

b) remove FTS_NOATIME - the attached would do that ... in the naive
hope that no other project has picked it up yet (which I doubt).

If nobody's using FTS_NOATIME it'd probably be better to remove it, yes.

It'd be nice to hear Eric's opinion.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]