On Sat, 2025-01-11 at 13:17 -0800, Rick Macklem wrote: > On Sat, Jan 11, 2025 at 12:08 PM Takeshi Nishimura > <takeshi.nishimura.linux@xxxxxxxxx> wrote: > > > > Dear list, > > > > We tried to use FATTR4_WORD2_CHANGE_ATTR_TYPE with Linux 6.12 nfsd, > > but the server does not set that attribute, while it is mandatory for > > NFSv4.2. > My understand is that nothing is mandatory in NFSv4.2. Everything is considered > optional extensions. I doubt any extant 4.2 server supports all of the optional > extensions in NFSv4.2. > Correct. This attr is completely optional. > > Could this please be fixed? > I'll leave if/when this optional extension will be added to the Linux > knfsd to the > Linux folk. > See: 1631087ba872 Revert "nfsd4: support change_attr_type attribute" Upshot: we had this at one point, but ripped it out because it was't terribly useful and could be problematic if the clock jumps backward. We could add it back in again, but we'd need to understand how to address the problems that Bruce points out. -- Jeff Layton <jlayton@xxxxxxxxxx>