]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: unlock the inode before log force in xfs_fs_nfs_commit_metadata
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Sep 2011 20:47:50 +0000 (20:47 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 29 Sep 2011 14:42:30 +0000 (09:42 -0500)
commit0b618fd2d100e82cef4e5f8ac56adabac9bcaabd
treeb3165e9908b08fc0fdb2aeffe2b48f34aa7e039f
parentb35e4f2d235e0a2aa9fde7899d27552b5e59545e
xfs: unlock the inode before log force in xfs_fs_nfs_commit_metadata

Only read the LSN we need to push to with the ilock held, and then release
it before we do the log force to improve concurrency.

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