Christoph Hellwig 1f9489be02 xfs: don't use REQ_PREFLUSH for split log writes
If we have to split a log write because it wraps the end of the log we
can't just use REQ_PREFLUSH to flush before the first log write,
as the writes might get reordered somewhere in the I/O stack.  Issue
a manual flush in that case so that the ordering of the two log I/Os
doesn't matter.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2019-06-28 19:27:21 -07:00
..
2019-06-12 09:00:00 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2019-05-07 18:14:36 -07:00
2019-06-28 19:27:18 -07:00
2018-06-06 14:17:53 -07:00
2019-06-09 10:06:19 -07:00
2018-06-06 14:17:53 -07:00
2019-06-12 08:37:40 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2019-06-12 08:37:40 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:27:21 -07:00
2018-08-01 07:40:48 -07:00
2019-04-23 08:36:23 -07:00
2019-06-12 08:37:40 -07:00
2018-06-06 14:17:53 -07:00
2019-02-21 07:55:07 -08:00
2019-02-21 07:55:07 -08:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00