summaryrefslogtreecommitdiffstats
path: root/doc/stat-prefetch-design.txt
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-08-23 22:36:28 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-08 01:42:43 -0700
commit251c9d6e83d4bdcc8180fc9f612fbef7ff4d39c3 (patch)
treee58bddcb6cb9b50bf95f6bdcc7c9c5e1b48ae52b /doc/stat-prefetch-design.txt
parent26be5dc52d771b37d4e9da8814111448e4e68148 (diff)
performance/stat-prefetch: implement sp_getdents.
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/stat-prefetch-design.txt')
-rw-r--r--doc/stat-prefetch-design.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/stat-prefetch-design.txt b/doc/stat-prefetch-design.txt
index d10f841e6..12c13cc28 100644
--- a/doc/stat-prefetch-design.txt
+++ b/doc/stat-prefetch-design.txt
@@ -118,7 +118,13 @@ fops to be implemented:
2. for each of the entry in the direntry list, delete from cache stored in
context of fd, the entry corresponding to basename of path being passed.
-* getdents/checksum/xattrop/fxattrop
+* getdents
+ 1. remove entry corresponding to basename of path on which fd is opened from
+ cache stored in parent, since getdents changes st_atime.
+ 2. remove entries corresponding to symbolic links from cache, since readlink
+ would've changed st_atime.
+
+* checksum/xattrop/fxattrop
These calls modify various times of stat structure, hence appropriate entries
have to be removed from the cache. I am leaving these calls unimplemented in
stat-prefetch for timebeing. Once we have a working translator, these five fops