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>
Wed, 12 Oct 2011 02:15:08 +0000 (21:15 -0500)
commit8292d88c5c833fc8b837c3a018fd6d72c35a3231
tree69d46f192c1aee634f4bab6cbf6b5891f4383a70
parentb10370585349d364ff3c550afa7922e6e21f029d
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