1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

- 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
This commit is contained in:
Jeff Roberson 2006-03-12 05:26:12 +00:00
parent 48d0991f1c
commit 8db357205c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156589

View File

@ -404,14 +404,7 @@ ffs_snapshot(mp, snapfile)
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);
/*