Re: New NFSv4.2 attribute |FATTR4_TMPFILE| (sort of opposite of |FATTR4_OFFLINE|) ?

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

 



On Tue, 23 Jul 2024 at 15:58, Olga Kornievskaia <aglo@xxxxxxxxx> wrote:
>
> On Tue, Jul 23, 2024 at 9:17 AM Roland Mainz <roland.mainz@xxxxxxxxxxx> wrote:
> >
> > Hi!
> >
> > ----
> >
> > [2nd attempt to send this email]
> > The Win32 API has |FILE_ATTRIBUTE_TEMPORARY| (see
> > https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea)
> > to optimise for short-lived/small temporary files - would it be useful
> > to reflect that in the NFSv4.2 protocol via a |FATTR4_TMPFILE|
> > attribute (sort of the opposite of |FATTR4_OFFLINE|, such a
> > |FATTR4_TMPFILE| should be ignored by HSM, and flushing to stable
> > storage should be relaxed/delayed as long as possible) ?
>
> I think a more appropriate medium for this message is an IETF NFSv4
> mailing list

Where is that list?

> as FATTR4_TMPFILE is not a spec attribute.

I think the question was what the Linux nfsd people think about such
an attribute.

But I also have a related question: Can the Linux nfsv4 client code
see the O_TMPFILE flag from openat() syscalls? If that is the case,
then O_TMPFILE ----> {FATTR4_TMPFILE, true}, and Linux nfsd can
optimise such files too.

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux