svn commit: r197220 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris cddl/contrib/opensolaris/uts/common/fs/zfs contrib/dev/acpica contrib/pf dev/xen/xenpci

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Sep 15 12:19:35 UTC 2009


Author: pjd
Date: Tue Sep 15 12:19:34 2009
New Revision: 197220
URL: http://svn.freebsd.org/changeset/base/197220

Log:
  MFC r197219:
  
  Forced unmounts work just fine in my tests under heavy load. There might
  still be a problem, but it isn't worth a warning.
  
  Approved by:	re (kib)

Modified:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
==============================================================================
--- stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c	Tue Sep 15 11:42:08 2009	(r197219)
+++ stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c	Tue Sep 15 12:19:34 2009	(r197220)
@@ -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),


More information about the svn-src-stable-8 mailing list