]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] Per iclog callback chain lock
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:18:39 +0000 (12:18 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
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 <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h