-
- Downloads
NFS: Ensure that setattr and getattr wait for O_DIRECT write completion
Use the same mechanism as the block devices are using, but move the helper functions from fs/direct-io.c into fs/inode.c to remove the dependency on CONFIG_BLOCK. Signed-off-by:Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Fred Isaman <iisaman@netapp.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- fs/direct-io.c 0 additions, 44 deletionsfs/direct-io.c
- fs/inode.c 47 additions, 0 deletionsfs/inode.c
- fs/nfs/direct.c 12 additions, 3 deletionsfs/nfs/direct.c
- fs/nfs/inode.c 4 additions, 1 deletionfs/nfs/inode.c
- fs/nfs/internal.h 4 additions, 0 deletionsfs/nfs/internal.h
- include/linux/fs.h 3 additions, 6 deletionsinclude/linux/fs.h
Loading
Please register or sign in to comment