commit | 1b33809ea8c671ccbceeaaa8d842631b441bed54 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Mon Apr 21 10:29:17 2014 -0700 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed May 28 17:45:30 2014 -0400 |
tree | 534b6e6b3ffcc3cf2df17b3cf184fb92269b233b | |
parent | 7a9a7b774fd543467313894fe53bc7dcc47d5708 [diff] |
nfs: commit layouts in fdatasync "fdatasync() is similar to fsync(), but does not flush modified metadata unless that metadata is needed in order to allow a subsequent data retrieval to be correctly handled." We absolutely need to commit the layouts to be able to retrieve the data in case either the client, the server or the storage subsystem go down. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>