Bug 143058 - [patch] mdconfig(8): make mdconfig -o reserve default for malloc-backed memory disks
Summary: [patch] mdconfig(8): make mdconfig -o reserve default for malloc-backed memor...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-01-21 16:40 UTC by Nikos Vassiliadis
Modified: 2022-10-17 12:36 UTC (History)
0 users

See Also:


Attachments
file.diff (1.27 KB, patch)
2010-01-21 16:40 UTC, Nikos Vassiliadis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Vassiliadis 2010-01-21 16:40:06 UTC
Creating and filling a big malloc-backed memory disk is a way to panic
the system. This could be easily avoided if the reseve option became the
default for malloc disks.

Fix: The attached patch adds reserve to the defaults for malloc disks

Patch attached with submission follows:
How-To-Repeat: mdconfig -at malloc -s 200m
dd if=/dev/zero of=/dev/md0
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:28 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:36:02 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>