]> err.no Git - linux-2.6/commit
[XFS] Reorganise xlog_t for better cacheline isolation of contention
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:18:54 +0000 (12:18 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:50:53 +0000 (11:50 +1000)
commit4679b2d36d53ed508c956337972fbbea8db99a77
treea9b0449c2b0566bb8e8398ff6644def57f7455e3
parenteb01c9cd87c7a9998c2edf209721ea069e3e3652
[XFS] Reorganise xlog_t for better cacheline isolation of contention

To reduce contention on the log in large CPU count, separate out different
parts of the xlog_t structure onto different cachelines. Move each lock
onto a different cacheline along with all the members that are
accessed/modified while that lock is held.

Also, move the debugging code into debug code.

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

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h