]> 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)
commit493822df1712845cda1ba39a4dddd8f32631f368
tree55bddffd164cc22ceba4020d9a0e9d2f666d40d4
parent7cc6a38980a59fa242724e848f3248101f5e27c5
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