xfs: do exact log space wakeups in xlog_ungrant_log_space
authorChristoph Hellwig <hch@infradead.org>
Mon, 20 Feb 2012 02:31:21 +0000 (02:31 +0000)
committerBen Myers <bpm@sgi.com>
Thu, 23 Feb 2012 04:17:00 +0000 (22:17 -0600)
commit3af1de753b3caf9fa3762b4b1b85d833c121847e
treeac204af972bcf3c7a4b913276ab32aa93426fe12
parent09a423a3d6c70905f1090f01aadb8e6abff527ce
xfs: do exact log space wakeups in xlog_ungrant_log_space

The only reason that xfs_log_space_wake had to do opportunistic wakeups
was that the old xfs_log_move_tail calling convention didn't allow for
exact wakeups when not updating the log tail LSN.  Since this issue has
been fixed we can do exact wakeups now.

Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_log.c