On Tue, Dec 15, 2020 at 2:25 PM Dave Chinner <david@xxxxxxxxxxxxx> wrote: > > What text are you going to add to the man page to describe how this > flag behaves to developers? I think it was you or Jens who suggested renaming it to RESOLVE_CACHED (and LOOKUP_CACHED), and I think that would be a good idea. Make it explicit that this isn't primarily about avoiding blocking, but about only doing name lookups that can be resolved directly from the dcache. Even in some other contexts, the traditional NONBLOCK naming isn't necessarily about not blocking. Lots of operations tend to block even for things that are requested to be "nonblocking", and in fact they can even cause IO (ie a "nonblocking" read can and will cause IO when it copies to user space, because _that_ part isn't nonblocking). Linus