path: root/doc
diff options
authorRaghavendra G <>2009-08-23 22:36:08 +0000
committerAnand V. Avati <>2009-09-08 01:42:36 -0700
commit155e6342d4f72d3be500510277b0808859ae2d2c (patch)
treeaf35794aed775786294b57f6fbd0b3e90147986e /doc
parent9d30a68082659c27a9dac6e4d1a98e2be8bf5bf8 (diff)
performance/stat-prefetch: implement sp_setdents.
Signed-off-by: Anand V. Avati <> BUG: 221 (stat prefetch implementation) URL:
Diffstat (limited to 'doc')
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/stat-prefetch-design.txt b/doc/stat-prefetch-design.txt
index 6328875..46bb369 100644
--- a/doc/stat-prefetch-design.txt
+++ b/doc/stat-prefetch-design.txt
@@ -110,7 +110,13 @@ fops to be implemented:
Delete the entry corresponding to basename from cache stored in context of fds
opened on parent inode, since setxattr changes st_ctime of file.
-* setdents/getdents/checksum/xattrop/fxattrop
+* setdents
+ 1. remove entry corresponding to basename of path on which fd is opened from
+ cache stored in parent.
+ 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
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