Re: [nfsv4] file size and getattr

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

 



Hi Rick,

On Tue, 2019-02-26 at 03:23 +0000, Rick Macklem wrote:
> 
> If I recall correctly, the Linux client only did LayoutCommits after
> Commits.
> As such, no LayoutCommit were done after writes to a DS that were
> FILE_SYNC
> (or stable, if you prefer). Without the LayoutCommit, the pNFS server
> didn't
> know when it needed to get an up to date size.
> The FreeBSD client does a LayoutCommit after writing to a DS whenever
> it is done
> writing, such as an fsync() or close() syscall on the file or an
> unlock of a write lock
> on the file.
> 

Please see the Errata ID 2751 http://www.rfc-editor.org/errata/eid2751

Cheers
  Trond
-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx






[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