/openbmc/linux/fs/afs/ |
H A D | dir_edit.c | 63a4681ff39cb63314b8ff41319e70fb0e606ed2 Fri Apr 06 08:17:25 CDT 2018 David Howells <dhowells@redhat.com> afs: Locally edit directory data for mkdir/create/unlink/...
Locally edit the contents of an AFS directory upon a successful inode operation that modifies that directory (such as mkdir, create and unlink) so that we can avoid the current practice of re-downloading the directory after each change.
This is viable provided that the directory version number we get back from the modifying RPC op is exactly incremented by 1 from what we had previously. The data in the directory contents is in a defined format that we have to parse locally to perform lookups and readdir, so modifying isn't a problem.
If the edit fails, we just clear the VALID flag on the directory and it will be reloaded next time it is needed.
Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | Makefile | diff 63a4681ff39cb63314b8ff41319e70fb0e606ed2 Fri Apr 06 08:17:25 CDT 2018 David Howells <dhowells@redhat.com> afs: Locally edit directory data for mkdir/create/unlink/...
Locally edit the contents of an AFS directory upon a successful inode operation that modifies that directory (such as mkdir, create and unlink) so that we can avoid the current practice of re-downloading the directory after each change.
This is viable provided that the directory version number we get back from the modifying RPC op is exactly incremented by 1 from what we had previously. The data in the directory contents is in a defined format that we have to parse locally to perform lookups and readdir, so modifying isn't a problem.
If the edit fails, we just clear the VALID flag on the directory and it will be reloaded next time it is needed.
Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | proc.c | diff 63a4681ff39cb63314b8ff41319e70fb0e606ed2 Fri Apr 06 08:17:25 CDT 2018 David Howells <dhowells@redhat.com> afs: Locally edit directory data for mkdir/create/unlink/...
Locally edit the contents of an AFS directory upon a successful inode operation that modifies that directory (such as mkdir, create and unlink) so that we can avoid the current practice of re-downloading the directory after each change.
This is viable provided that the directory version number we get back from the modifying RPC op is exactly incremented by 1 from what we had previously. The data in the directory contents is in a defined format that we have to parse locally to perform lookups and readdir, so modifying isn't a problem.
If the edit fails, we just clear the VALID flag on the directory and it will be reloaded next time it is needed.
Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | fsclient.c | diff 63a4681ff39cb63314b8ff41319e70fb0e606ed2 Fri Apr 06 08:17:25 CDT 2018 David Howells <dhowells@redhat.com> afs: Locally edit directory data for mkdir/create/unlink/...
Locally edit the contents of an AFS directory upon a successful inode operation that modifies that directory (such as mkdir, create and unlink) so that we can avoid the current practice of re-downloading the directory after each change.
This is viable provided that the directory version number we get back from the modifying RPC op is exactly incremented by 1 from what we had previously. The data in the directory contents is in a defined format that we have to parse locally to perform lookups and readdir, so modifying isn't a problem.
If the edit fails, we just clear the VALID flag on the directory and it will be reloaded next time it is needed.
Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | inode.c | diff 63a4681ff39cb63314b8ff41319e70fb0e606ed2 Fri Apr 06 08:17:25 CDT 2018 David Howells <dhowells@redhat.com> afs: Locally edit directory data for mkdir/create/unlink/...
Locally edit the contents of an AFS directory upon a successful inode operation that modifies that directory (such as mkdir, create and unlink) so that we can avoid the current practice of re-downloading the directory after each change.
This is viable provided that the directory version number we get back from the modifying RPC op is exactly incremented by 1 from what we had previously. The data in the directory contents is in a defined format that we have to parse locally to perform lookups and readdir, so modifying isn't a problem.
If the edit fails, we just clear the VALID flag on the directory and it will be reloaded next time it is needed.
Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | dir.c | diff 63a4681ff39cb63314b8ff41319e70fb0e606ed2 Fri Apr 06 08:17:25 CDT 2018 David Howells <dhowells@redhat.com> afs: Locally edit directory data for mkdir/create/unlink/...
Locally edit the contents of an AFS directory upon a successful inode operation that modifies that directory (such as mkdir, create and unlink) so that we can avoid the current practice of re-downloading the directory after each change.
This is viable provided that the directory version number we get back from the modifying RPC op is exactly incremented by 1 from what we had previously. The data in the directory contents is in a defined format that we have to parse locally to perform lookups and readdir, so modifying isn't a problem.
If the edit fails, we just clear the VALID flag on the directory and it will be reloaded next time it is needed.
Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | internal.h | diff 63a4681ff39cb63314b8ff41319e70fb0e606ed2 Fri Apr 06 08:17:25 CDT 2018 David Howells <dhowells@redhat.com> afs: Locally edit directory data for mkdir/create/unlink/...
Locally edit the contents of an AFS directory upon a successful inode operation that modifies that directory (such as mkdir, create and unlink) so that we can avoid the current practice of re-downloading the directory after each change.
This is viable provided that the directory version number we get back from the modifying RPC op is exactly incremented by 1 from what we had previously. The data in the directory contents is in a defined format that we have to parse locally to perform lookups and readdir, so modifying isn't a problem.
If the edit fails, we just clear the VALID flag on the directory and it will be reloaded next time it is needed.
Signed-off-by: David Howells <dhowells@redhat.com>
|
/openbmc/linux/include/trace/events/ |
H A D | afs.h | diff 63a4681ff39cb63314b8ff41319e70fb0e606ed2 Fri Apr 06 08:17:25 CDT 2018 David Howells <dhowells@redhat.com> afs: Locally edit directory data for mkdir/create/unlink/...
Locally edit the contents of an AFS directory upon a successful inode operation that modifies that directory (such as mkdir, create and unlink) so that we can avoid the current practice of re-downloading the directory after each change.
This is viable provided that the directory version number we get back from the modifying RPC op is exactly incremented by 1 from what we had previously. The data in the directory contents is in a defined format that we have to parse locally to perform lookups and readdir, so modifying isn't a problem.
If the edit fails, we just clear the VALID flag on the directory and it will be reloaded next time it is needed.
Signed-off-by: David Howells <dhowells@redhat.com>
|