]> Git Repo - linux.git/commit - fs/xfs/xfs_log.c
[XFS] Per iclog callback chain lock
authorDavid Chinner <[email protected]>
Thu, 10 Apr 2008 02:18:39 +0000 (12:18 +1000)
committerLachlan McIlroy <[email protected]>
Fri, 18 Apr 2008 01:50:22 +0000 (11:50 +1000)
commit114d23aae51233b2bc62d8e2a632bcb55de1953d
tree39aa3e7e6dd32c39a416e34c4a663cb329315685
parent2abdb8c88110bab78bfe17e51346e735560daa02
[XFS] Per iclog callback chain lock

Rather than use the icloglock for protecting the iclog completion callback
chain, use a new per-iclog lock so that walking the callback chain doesn't
require holding a global lock.

This reduces contention on the icloglock during transaction commit and log
I/O completion by reducing the number of times we need to hold the global
icloglock during these operations.

SGI-PV: 978729
SGI-Modid: xfs-linux-melb:xfs-kern:30770a

Signed-off-by: David Chinner <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Lachlan McIlroy <[email protected]>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h
This page took 0.046821 seconds and 4 git commands to generate.