xfs: remove SYNC_IOWAIT
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2009 13:37:11 +0000 (15:37 +0200)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 8 Jun 2009 13:37:11 +0000 (15:37 +0200)
commitb0710ccc6d9fa8fb908b5f6d1b0782a09d80e24f
tree1cbb8a6e5d1257e4154d2117a61fcc37f54fee0d
parent075fe1028699f6a280545dfc2cfc5ac82d555c8c
xfs: remove SYNC_IOWAIT

We want to wait for all I/O to finish when we do data integrity syncs.  So
there is no reason to keep SYNC_WAIT separate from SYNC_IOWAIT.  This
causes a little change in behaviour for the ENOSPC flushing code which now
does a second submission and wait of buffered I/O, but that should finish
ASAP as we already did an asynchronous writeout earlier.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
fs/xfs/linux-2.6/xfs_sync.c
fs/xfs/linux-2.6/xfs_sync.h