Merge tag 'afs-fixes-b-20190516' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
Pull AFS callback promise fixes from David Howells: "This series fixes a bunch of problems in callback promise handling, where a callback promise indicates a promise on the part of the server to notify the client in the event of some sort of change to a file or volume. In the event of a break, the client has to go and refetch the client status from the server and discard any cached permission information as the ACL might have changed. The problem in the current code is that changes made by other clients aren't always noticed, primarily because the file status information and the callback information aren't updated in the same critical section, even if these are carried in the same reply from an RPC operation, and so the AFS_VNODE_CB_PROMISED flag is unreliable. Arranging for them to be done in the same critical section during reply decoding is tricky because of the FS.InlineBulkSt...
Showing
- fs/afs/afs.h 11 additions, 2 deletionsfs/afs/afs.h
- fs/afs/callback.c 12 additions, 9 deletionsfs/afs/callback.c
- fs/afs/cmservice.c 7 additions, 7 deletionsfs/afs/cmservice.c
- fs/afs/dir.c 238 additions, 119 deletionsfs/afs/dir.c
- fs/afs/dir_silly.c 23 additions, 8 deletionsfs/afs/dir_silly.c
- fs/afs/file.c 15 additions, 5 deletionsfs/afs/file.c
- fs/afs/flock.c 29 additions, 11 deletionsfs/afs/flock.c
- fs/afs/fs_probe.c 2 additions, 2 deletionsfs/afs/fs_probe.c
- fs/afs/fsclient.c 230 additions, 443 deletionsfs/afs/fsclient.c
- fs/afs/inode.c 339 additions, 106 deletionsfs/afs/inode.c
- fs/afs/internal.h 100 additions, 79 deletionsfs/afs/internal.h
- fs/afs/rotate.c 12 additions, 6 deletionsfs/afs/rotate.c
- fs/afs/rxrpc.c 6 additions, 7 deletionsfs/afs/rxrpc.c
- fs/afs/security.c 8 additions, 7 deletionsfs/afs/security.c
- fs/afs/super.c 10 additions, 10 deletionsfs/afs/super.c
- fs/afs/vl_probe.c 2 additions, 2 deletionsfs/afs/vl_probe.c
- fs/afs/vlclient.c 13 additions, 21 deletionsfs/afs/vlclient.c
- fs/afs/write.c 55 additions, 43 deletionsfs/afs/write.c
- fs/afs/xattr.c 75 additions, 28 deletionsfs/afs/xattr.c
- fs/afs/yfsclient.c 196 additions, 466 deletionsfs/afs/yfsclient.c
Please register or sign in to comment