Re: [Cluster-devel] [PATCH 3/4] gfs2: ordered buffer writes are not sync

2010-02-05 Thread Steven Whitehouse
Hi, On Fri, 2010-02-05 at 16:45 +1100, Dave Chinner wrote: Currently gfs2 ordered buffer writes use WRITE_SYNC_PLUG as the IO type being dispatched. They aren't sync writes; we issue all the IO pending, then wait for it all. IOWs, this is async IO with a bulk wait on the end. We should use

[Cluster-devel] [PATCH 3/4] gfs2: ordered buffer writes are not sync

2010-02-04 Thread Dave Chinner
Currently gfs2 ordered buffer writes use WRITE_SYNC_PLUG as the IO type being dispatched. They aren't sync writes; we issue all the IO pending, then wait for it all. IOWs, this is async IO with a bulk wait on the end. We should use normal WRITE tagging for this, and before we start waiting make