Skip to content
This repository has been archived by the owner on Apr 7, 2019. It is now read-only.

Commit

Permalink
mdmfs(8): use -o reserve with malloc-backed md(4)
Browse files Browse the repository at this point in the history
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.

Submitted by:	Paul Vixie
MFC after:	1 week
  • Loading branch information
kevans91 committed Feb 16, 2019
1 parent a4657e0 commit 43d973d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sbin/mdmfs/mdmfs.c
Expand Up @@ -196,6 +196,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);
Expand Down

0 comments on commit 43d973d

Please sign in to comment.