]> git.hungrycats.org Git - linux/commit
JFS: don't use global lock in lmLogSync when local lock is sufficient
authorDave Kleikamp <shaggy@austin.ibm.com>
Wed, 24 Mar 2004 08:17:44 +0000 (02:17 -0600)
committerDave Kleikamp <shaggy@austin.ibm.com>
Wed, 24 Mar 2004 08:17:44 +0000 (02:17 -0600)
commit726dab7433f3bb3eb754f38f77c724758c170374
tree08ec548719a56847f71cbf47d3e13d47735aff74
parent135e21a513dc09f594edee23741d1801ad47c1c3
JFS: don't use global lock in lmLogSync when local lock is sufficient

I stupidly used the global jfs_log_sem to protect log->sb_list when
implementing the shared journal stuff.  Since we already hold
LOG_LOCK, it makes more sense to use that to protect log->sb_list.
This caused horrible serialization when running on lots of jfs
volumes.
fs/jfs/jfs_logmgr.c