jbd2: Call journal commit callback without holding j_list_lock
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 6 Nov 2008 22:50:21 +0000 (17:50 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Nov 2008 22:50:21 +0000 (17:50 -0500)
Avoid freeing the transaction in __jbd2_journal_drop_transaction() so
the journal commit callback can run without holding j_list_lock, to
avoid lock contention on this spinlock.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found