]> git.karo-electronics.de Git - linux-beck.git/commit
NFS: Don't fsync twice for O_SYNC/IS_SYNC files
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Aug 2015 21:55:18 +0000 (16:55 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Aug 2015 21:55:18 +0000 (16:55 -0500)
commit7e94d6c4ab69562423fdc18801050a84462c2787
treec76fe5e25b9630866731414279b920e2763ca184
parent9fba8e30f704d49627ab8a4a57213862206b3e5f
NFS: Don't fsync twice for O_SYNC/IS_SYNC files

generic_file_write_iter() will already do an fsync on our behalf
if the file descriptor is O_SYNC or the file is marked as IS_SYNC.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/file.c