]> bbs.cooldavid.org Git - net-next-2.6.git/commit
xfs: split out iclog writing from xfs_trans_commit()
authorDave Chinner <dchinner@redhat.com>
Mon, 8 Mar 2010 00:28:28 +0000 (11:28 +1100)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:08 +0000 (09:58 -0500)
commit0924378a689ccb05f6d60875742dc28f69bf0129
tree8d6933bff18ac9f4670395673e38dad94fedd998
parent713bf88bba55b8dd91a18e8a59b0f97bf9b0f5de
xfs: split out iclog writing from xfs_trans_commit()

Split the the part of xfs_trans_commit() that deals with writing the
transaction into the iclog into a separate function. This isolates the
physical commit process from the logical commit operation and makes
it easier to insert different transaction commit paths without affecting
the existing algorithm adversely.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_trans.c