1. 17 11月, 2011 1 次提交
  2. 14 11月, 2011 1 次提交
  3. 11 11月, 2011 4 次提交
  4. 09 11月, 2011 1 次提交
  5. 08 11月, 2011 2 次提交
  6. 07 11月, 2011 5 次提交
  7. 05 11月, 2011 5 次提交
  8. 04 11月, 2011 6 次提交
  9. 03 11月, 2011 14 次提交
  10. 02 11月, 2011 1 次提交
    • S
      vfs: add d_prune dentry operation · f0023bc6
      Sage Weil 提交于
      This adds a d_prune dentry operation that is called by the VFS prior to
      pruning (i.e. unhashing and killing) a hashed dentry from the dcache.
      Wrap dentry_lru_del() and use the new _prune() helper in the cases where we
      are about to unhash and kill the dentry.
      
      This will be used by Ceph to maintain a flag indicating whether the
      complete contents of a directory are contained in the dcache, allowing it
      to satisfy lookups and readdir without addition server communication.
      
      Renumber a few DCACHE_* #defines to group DCACHE_OP_PRUNE with the other
      DCACHE_OP_ bits.
      Signed-off-by: NSage Weil <sage@newdream.net>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      f0023bc6