summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_sync.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-06-08 15:37:11 +0200
committerChristoph Hellwig <hch@brick.lst.de>2009-06-08 15:37:11 +0200
commitb0710ccc6d9fa8fb908b5f6d1b0782a09d80e24f (patch)
tree1cbb8a6e5d1257e4154d2117a61fcc37f54fee0d /fs/xfs/linux-2.6/xfs_sync.h
parentxfs: split xfs_sync_inodes (diff)
downloadlinux-b0710ccc6d9fa8fb908b5f6d1b0782a09d80e24f.tar.xz
linux-b0710ccc6d9fa8fb908b5f6d1b0782a09d80e24f.zip
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>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_sync.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.h b/fs/xfs/linux-2.6/xfs_sync.h
index 26bfb5c42e76..bda33a03e12b 100644
--- a/fs/xfs/linux-2.6/xfs_sync.h
+++ b/fs/xfs/linux-2.6/xfs_sync.h
@@ -31,7 +31,6 @@ typedef struct xfs_sync_work {
#define SYNC_WAIT 0x0004 /* wait for i/o to complete */
#define SYNC_BDFLUSH 0x0008 /* BDFLUSH is calling -- don't block */
-#define SYNC_IOWAIT 0x0010 /* wait for all I/O to complete */
#define SYNC_TRYLOCK 0x0020 /* only try to lock inodes */
int xfs_syncd_init(struct xfs_mount *mp);