svn commit: r344625 - stable/11/sbin/mdmfs
Kyle Evans
kevans at FreeBSD.org
Wed Feb 27 17:00:28 UTC 2019
Author: kevans
Date: Wed Feb 27 17:00:27 2019
New Revision: 344625
URL: https://svnweb.freebsd.org/changeset/base/344625
Log:
MFC r344218: mdmfs(8): use -o reserve with malloc-backed md(4)
Mentioned in mdconfig(8), malloc-backed md(4) can be unstable unless
required memory is allocated up front with -o reserve. Furthermore, panics
have been observed with md used in fstab on 12.0-RELEASE. Choose the stable
route and pass -o reserve.
Modified:
stable/11/sbin/mdmfs/mdmfs.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sbin/mdmfs/mdmfs.c
==============================================================================
--- stable/11/sbin/mdmfs/mdmfs.c Wed Feb 27 17:00:14 2019 (r344624)
+++ stable/11/sbin/mdmfs/mdmfs.c Wed Feb 27 17:00:27 2019 (r344625)
@@ -194,6 +194,7 @@ main(int argc, char **argv)
usage();
mdtype = MD_MALLOC;
have_mdtype = true;
+ argappend(&mdconfig_arg, "-o reserve");
break;
case 'm':
argappend(&newfs_arg, "-m %s", optarg);
More information about the svn-src-stable-11
mailing list