summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/journal.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-05-08 14:53:52 +0200
committerFrederic Weisbecker <fweisbec@gmail.com>2009-09-14 07:18:20 +0200
commitd6f5b0aa08078c3dabe377d5b1a6077e9c9352d3 (patch)
treeb5d6bd99e007c57a6cd4953368202d99a41141cd /fs/reiserfs/journal.c
parentkill-the-bkl/reiserfs: reduce number of contentions in search_by_key() (diff)
downloadlinux-d6f5b0aa08078c3dabe377d5b1a6077e9c9352d3.tar.xz
linux-d6f5b0aa08078c3dabe377d5b1a6077e9c9352d3.zip
kill-the-bkl/reiserfs: factorize the locking in reiserfs_write_end()
reiserfs_write_end() is a hot path in reiserfs. We have two wasteful write lock lock/release inside that can be gathered without changing the code logic. This patch factorizes them out in a single protected section, reducing the number of contentions inside. [ Impact: reduce lock contention in a reiserfs hotpath ] Cc: Jeff Mahoney <jeffm@suse.com> Cc: Chris Mason <chris.mason@oracle.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'fs/reiserfs/journal.c')
0 files changed, 0 insertions, 0 deletions