]> git.baikalelectronics.ru Git - kernel.git/commit
fs/mbcache.c: change block and index hash chain to hlist_bl_node
authorT Makphaibulchoke <tmac@hp.com>
Tue, 18 Mar 2014 23:19:41 +0000 (19:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 Mar 2014 23:19:41 +0000 (19:19 -0400)
commit558a179748f6d953ec56df34b0243b596c08ffb2
tree55bddffd164cc22ceba4020d9a0e9d2f666d40d4
parentff31cc97e32c71e3d09f18caf916de0f5834e28c
fs/mbcache.c: change block and index hash chain to hlist_bl_node

This patch changes each mb_cache's both block and index hash chains to
use a hlist_bl_node, which contains a built-in lock.  This is the
first step in decoupling of locks serializing accesses to mb_cache
global data and each mb_cache_entry local data.

Signed-off-by: T. Makphaibulchoke <tmac@hp.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/mbcache.c
include/linux/mbcache.h