summaryrefslogtreecommitdiffstats
path: root/doc/stat-prefetch-design.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/stat-prefetch-design.txt')
-rw-r--r--doc/stat-prefetch-design.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/stat-prefetch-design.txt b/doc/stat-prefetch-design.txt
index 13abc52976a..6328875ac87 100644
--- a/doc/stat-prefetch-design.txt
+++ b/doc/stat-prefetch-design.txt
@@ -89,9 +89,16 @@ fops to be implemented:
* rename
1. remove entry corresponding to oldname from cache stored in fd contexts of
- old parent directory.
- 2. remove entry corresponding to new parent directory from cache stored in
- fd contexts of its parent directory.
+ oldparent.
+ 2. remove entry corresponding to newname from cache stored in fd contexts of
+ newparent.
+ 3. remove entry corresponding to oldparent from cache stored in
+ old-grand-parent.
+ 4. remove entry corresponding to newparent from cache stored in
+ new-grand-parent.
+ 5. if oldname happens to be a directory, remove entire cache from all fds
+ opened on it.
+
* create/mknod/mkdir/symlink/link
Delete entry corresponding to basename of directory in which these operations