Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2026 08:11:56 -0700
From:      Rick Macklem <rick.macklem@gmail.com>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   RFC: Can a new "don't cache" chflags(1) be added?
Message-ID:  <CAM5tNy4Z8W%2BY_HfBJOMZCHjubq18cAz3%2B3ZP%2BZEcQzie8kuRNg@mail.gmail.com>

index | next in thread | raw e-mail

Hi,

NFSv4.2 is getting a new "don't cache" attribute. It is meant to
indicate to the NFS client that it should always handle the file
as if it were open()'d with O_DIRECT.

Does adding a new flag to chflags(1) called something like
UF_DONTCACHE to support this new attribute seem
reasonable?

Thanks for any comments, rick


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM5tNy4Z8W%2BY_HfBJOMZCHjubq18cAz3%2B3ZP%2BZEcQzie8kuRNg>