linux/include
Sage Weil f0023bc617 vfs: add d_prune dentry operation
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: Sage Weil <sage@newdream.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-11-02 12:53:43 +01:00
..
acpi
asm-generic Merge Qualcom Hexagon architecture 2011-11-01 07:48:13 -07:00
crypto
drm treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
keys
linux vfs: add d_prune dentry operation 2011-11-02 12:53:43 +01:00
math-emu
media Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2011-10-31 15:42:54 -07:00
misc
mtd
net treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
pcmcia
rdma Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2011-11-01 10:51:38 -07:00
rxrpc
scsi
sound treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
target
trace mm: change isolate mode from #define to bitwise type 2011-10-31 17:30:44 -07:00
video
xen treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
Kbuild