Re: [PATCH] nfs: don't update isize when NFS_INO_LAYOUTCOMMITTING in nfs_update_inode

2014-01-13 Thread Trond Myklebust
On Jan 13, 2014, at 8:34, Trond Myklebust wrote: > > On Jan 13, 2014, at 2:55, shaobingqing wrote: > >> When a file is in NFS_INO_LAYOUTCOMMITING status, its isize perhaps has not >> been >> transferred to the metadate server. So the isize getting from the metadata >> server >> perhaps is

Re: [PATCH] nfs: don't update isize when NFS_INO_LAYOUTCOMMITTING in nfs_update_inode

2014-01-13 Thread Trond Myklebust
On Jan 13, 2014, at 2:55, shaobingqing wrote: > When a file is in NFS_INO_LAYOUTCOMMITING status, its isize perhaps has not > been > transferred to the metadate server. So the isize getting from the metadata > server > perhaps is out of date and cannot be used to update the isize of the clien