commit | 3e4da466bfa1dea40b2b23130a9dc4acebcc9f14 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Mar 13 23:15:30 2018 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Mar 23 18:05:06 2018 -0700 |
tree | 08f40d032caf9bb383dce5e117b4205bcc657f88 | |
parent | 93806299b56b22df8fec9b78cb4c9c41d283ee2a [diff] |
xfs: unwind the try_again loop in xfs_log_force Instead split out a __xfs_log_fore_lsn helper that gets called again with the already_slept flag set to true in case we had to sleep. This prepares for aio_fsync support. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>