[Tux3] Deferred namespace operations, removed HIDDEN flag

Daniel Phillips phillips at phunq.net
Tue Dec 9 14:07:44 PST 2008


With the new approach to handling busy, unlinked dentries, the
DCACHE_HIDDEN flag is no longer needed, shrinking the demo patch by
more than 40%.  Only two core files are touched, dcache.c and dcache.h:

git diff 5023112d97ace1a7363ab4b0da2701a21f6e3ffd | diffstat
 include/linux/dcache.h     |   11 ++++++
 fs/dcache.c                |    6 ++-
 fs/ext2/dir.c              |   61 ++++++++++++++++++++++++++++++++-
 fs/ext2/inode.c            |    1
 fs/ext2/namei.c            |   82 ++++++++++++++++++++++++++++++---------------
 fs/ext2/super.c            |   36 +++++++++++++++++++
 include/linux/ext2_fs_sb.h |    1
 7 files changed, 169 insertions(+), 29 deletions(-)

Still need to add handling for deferred inode create and rename.  It's
getting there.

Regards,

Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: defer.patch
Type: text/x-diff
Size: 11274 bytes
Desc: not available
URL: <http://phunq.net/pipermail/tux3/attachments/20081209/a4ccfacd/attachment-0001.patch>
-------------- next part --------------
_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3


More information about the Tux3 mailing list