Skip to content

fix nfsd stable write implementation

J. Bruce Fields linux-fsdevel linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nfsd: assume writeable exportabled filesystems have f_syncfs/nfsd/vfs.c+0 -130 replies
2/2nfsd: use vfs_fsync_range(), not O_SYNC, for stable writesfs/nfsd/vfs.c+6 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] fix nfsd stable write implementation

From: "J. Bruce Fields" <[email protected]>

Peter pointed out to me that the nfs server is implementing stable writes by setting the O_SYNC flag. I can't see why we couldn't write and then sync instead, but I don't know this stuff as well as I should; does the following look reasonable to people?

--b.

J. Bruce Fields (2):
nfsd: assume writeable exportabled filesystems have f_sync
nfsd: use vfs_fsync_range(), not O_SYNC, for stable writes

 fs/nfsd/vfs.c |   26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)
Signature · 6 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html