diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-08-23 22:35:36 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-08 01:42:25 -0700 |
commit | 52c34af5f4814b0b85efdc3c4d23638b6ca5514c (patch) | |
tree | 8883dbd34a1fde4d50fee9d88c1165af96614ca3 /doc | |
parent | 42d7559e8de1ca9c35dee6f731350c01a53932ad (diff) |
performance/stat-prefetch: implement sp_rename.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
Diffstat (limited to 'doc')
-rw-r--r-- | doc/stat-prefetch-design.txt | 13 |
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 |