Re: [bug report] NFS: Support statx_get and statx_set ioctls

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

 



On Thu, Jan 13, 2022 at 02:58:19PM +0000, Trond Myklebust wrote:
On Wed, 2022-01-12 at 22:30 -0800, Jeremy Allison wrote:
On Thu, Jan 13, 2022 at 05:52:40AM +0200, Amir Goldstein wrote:
>
> To add one more terminology to the mix - when Samba needed to cope
> with these two terminologies they came up with itime for
> "instantiation time"
> (one may also consider it "immutable time").

No, that's not what itime is. It's used as the basis
for the fileid return as MacOSX clients insist on no-reuse
of inode numbers when a file is deleted then re-created,
and ext4 will re-use the same inode.

So basically it serves more or less the same purpose as the generation
counter that most Linux filesystems use in the filehandle to provide
similar only-once semantics?

Kind of, although we moved it recently to be
a current_time + random skew as the timestamp
resolution in ext4 just wasn't enough to get us
unique fileids.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux