summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2006-03-12 05:26:12 +0000
committerjeff <jeff@FreeBSD.org>2006-03-12 05:26:12 +0000
commite60804a129079e9c7fd413a76de949964fc6b1a3 (patch)
tree046c4ca5038ce5c032f9102221c4d1aa396acc1f /sys/ufs/ffs
parent5f88bbb86510311339976fd33f521a11aaa9e861 (diff)
downloadFreeBSD-src-e60804a129079e9c7fd413a76de949964fc6b1a3.zip
FreeBSD-src-e60804a129079e9c7fd413a76de949964fc6b1a3.tar.gz
- Remove the call to softdep_waitidle after suspending the filesystem.
This does not do what I wanted as all dirty buffers must be flushed by the call to ffs_sync and any remaining dependency work would mean that this failed. Pointed out by: tegge
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_snapshot.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index fcd713a..041ce47 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -404,14 +404,7 @@ restart:
break;
vn_start_write(NULL, &wrtmp, V_WAIT);
}
- /*
- * Wait for all dependency processing to finish after the sync
- * triggered by vfs_write_suspend().
- */
- error = softdep_waitidle(vp->v_mount);
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td);
- if (error)
- goto out1;
if (collectsnapstats)
nanotime(&starttime);
/*
OpenPOWER on IntegriCloud