]> git.baikalelectronics.ru Git - kernel.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)
commit84e8d4aad0fd13d2d5cff4d12b2ad6ff7801c87c
tree8d6933bff18ac9f4670395673e38dad94fedd998
parentb5db201ca5d4921ee83d547ae8943da234ee10dd
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