> -----Original Message----- > From: linux-nfs-owner@xxxxxxxxxxxxxxx [mailto:linux-nfs- > owner@xxxxxxxxxxxxxxx] On Behalf Of chenditang > Sent: Monday, March 18, 2013 3:12 AM > To: bhalevy@xxxxxxxxxx > Cc: linux-nfs@xxxxxxxxxxxxxxx; LINE > Subject: pnfs: WRITE operation will not send LAYOUTCOMMI OP to MDS if > use filelayout > > In the recent pnfs kernel versions, WRITE operation will not send > LAYOUTCOMMI OP to MDS if use filelayout. > > In nfs_write_rpcsetup function, the value of the variable 'stable' will always > be NFS_FILE_SYNC(ncommit is 0). so NFS_INO_LAYOUTCOMMIT flag will not > be set. If these are small files, then that is expected behaviour. The pNFS spec does not exempt the DS from having to honour the 'stable' flag. Cheers Trond ?韬{.n?????%??檩??w?{.n???{炳w忐)?骅w*jg????????G??⒏⒎?:+v????????????"??????