fs: dcache scale hash
authorNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:49:30 +0000 (17:49 +1100)
committerNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:20 +0000 (17:50 +1100)
commit789680d1ee9311cdf095241dc02bd9784d799cd1
treee6a984b0aa4791918f1b665f45210c2ab762969c
parentec2447c278ee973d35f38e53ca16ba7f965ae33d
fs: dcache scale hash

Add a new lock, dcache_hash_lock, to protect the dcache hash table from
concurrent modification. d_hash is also protected by d_lock.

Signed-off-by: Nick Piggin <npiggin@kernel.dk>
fs/dcache.c
include/linux/dcache.h