Author: pjd
Date: Tue Sep 15 11:42:08 2009
New Revision: 197219
URL: http://svn.freebsd.org/changeset/base/197219

Log:
  Forced unmounts work just fine in my tests under heavy load. There might
  still be a problem, but it isn't worth a warning.

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c    Tue Sep 
15 11:34:53 2009        (r197218)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c    Tue Sep 
15 11:42:08 2009        (r197219)
@@ -994,11 +994,6 @@ zfs_umount(vfs_t *vfsp, int fflag)
        cred_t *cr = curthread->td_ucred;
        int ret;
 
-       if (fflag & MS_FORCE) {
-               /* TODO: Force unmount is not well implemented yet, so deny it. 
*/
-               ZFS_LOG(0, "Force unmount is experimental - report any 
problems.");
-       }
-
        ret = secpolicy_fs_unmount(cr, vfsp);
        if (ret) {
                ret = dsl_deleg_access((char *)refstr_value(vfsp->vfs_resource),
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to