#
d111a5c9 |
| 21-Feb-2005 |
Michael Reifenberger <mr@FreeBSD.org> |
Document the terabyte "-s" parameter in the usage string. Split the usage line to not exceed 80 chars.
|
#
8d646af5 |
| 10-Feb-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync program's usage() with manpage's SYNOPSIS.
|
#
0d79319a |
| 22-Jan-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Allow to specify device size in bytes.
MFC after: 1 week
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
88b5b78d |
| 27-Dec-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Rewrite piece of code which I committed some time ago that allows to show file name for 'mdconfig -l -u <x>' command. This allows to preserve API/ABI compatibility with version 0 (that's why I change
Rewrite piece of code which I committed some time ago that allows to show file name for 'mdconfig -l -u <x>' command. This allows to preserve API/ABI compatibility with version 0 (that's why I changed version number back to 0) and will allow to merge this change to RELENG_5.
MFC after: 5 days
show more ...
|
#
78bb1162 |
| 13-Nov-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync usage() with manpage SYNOPSIS and code.
|
#
61a6eb62 |
| 06-Nov-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
For file backed md(4) devices output their source file via 'mdconfig -l -u <unit>'. Bump version number, as this change breaks ABI/API.
|
#
9a777b93 |
| 06-Nov-2004 |
Dima Dorfman <dd@FreeBSD.org> |
If there aren't any devices to list, output nothing instead of an empty line. This is consistent with other utilities.
While I'm here, remove artifacts of the previous list implementation.
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
b830359b |
| 16-Sep-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Make md(4) 64-bit clean. After this change it should be possible to use very big md(4) devices. - Clean up and simplify the code a bit. - Use humanize_number(3) to print size of md(4) devices. -
- Make md(4) 64-bit clean. After this change it should be possible to use very big md(4) devices. - Clean up and simplify the code a bit. - Use humanize_number(3) to print size of md(4) devices. - Add 't' suffix which stands for terabyte. - Make '-S' to really work with all types of devices. - Other minor changes.
show more ...
|
#
d31ba625 |
| 08-Sep-2004 |
John-Mark Gurney <jmg@FreeBSD.org> |
add support for documented readonly option... also print out the option that is unknow so that the user knows what (s)he did wrong..
MFC after: 3 days
|
#
a246f097 |
| 09-Aug-2004 |
John-Mark Gurney <jmg@FreeBSD.org> |
change the name of the md module, to g_md, introduce a define with the name MD_MODNAME, and make mdconfig use this new define...
|
#
e869d377 |
| 25-Jul-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Give better diagnostic for problems with backing files.
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
7a6b2b64 |
| 10-Mar-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Fix a long-standing deadlock issue with vnode backed md(4) devices:
On vnode backed md(4) devices over a certain, currently undetermined size relative to the buffer cache our "lemming-syncer" can pr
Fix a long-standing deadlock issue with vnode backed md(4) devices:
On vnode backed md(4) devices over a certain, currently undetermined size relative to the buffer cache our "lemming-syncer" can provoke a buffer starvation which puts the md thread to sleep on wdrain.
This generally tends to grind the entire system to a stop because the event that is supposed to wake up the thread will not happen until a fair bit of the piled up I/O requests in the system finish, and since a lot of those are on a md(4) vnode backed device which is currently waiting on wdrain until a fair amount of the piled up ... you get the picture.
The cure is to issue all VOP_WRITES on the vnode backing the device with IO_SYNC.
In addition to more closely emulating a real disk device with a non-lying write-cache, this makes the writes exempt from rate-limited (there to avoid starving the buffer cache) and consequently prevents the deadlock.
Unfortunately performance takes a hit.
Add "async" option to give people who know what they are doing the old behaviour.
show more ...
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
8a50130b |
| 11-Jul-2003 |
Alexander Kabaev <kan@FreeBSD.org> |
Do not compare unsigned int values with ULONG_MAX. The comparison is always false on 64bit platforms and GCC 3.3.1 issues warning there.
|
#
f79c46d3 |
| 11-Jun-2003 |
Robert Watson <rwatson@FreeBSD.org> |
Add "-n" argument, which causes mdconfig to simply print the unit number X, rather than mdX, making it easier to script tests that use md devices but don't want to make assumptions about any existing
Add "-n" argument, which causes mdconfig to simply print the unit number X, rather than mdX, making it easier to script tests that use md devices but don't want to make assumptions about any existing md use (such as in diskless environments).
show more ...
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
4e8bfe14 |
| 09-Apr-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add a couple of undocumented test options to MD(4) to aid in regression testting of GEOM.
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
252bcf45 |
| 01-Apr-2003 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Give clearer diagnostics on some cases of invalid combinations of mdconfig(8) command-line arguments.
Make mdconfig(8) accept "-a -f file -o options" equally with "-a -f file" (assuming "-t vnode".)
|
#
ebe789d6 |
| 03-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add a "-S sectorsize" option to enable Kirk to find a bug :-)
|
#
e39eff98 |
| 27-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Don't use the kern.disks sysctl to find a list of md devices, use the MDIOCLIST ioctl instead.
Spotted by: keramida
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
f9e425b3 |
| 10-Oct-2002 |
Giorgos Keramidas <keramida@FreeBSD.org> |
Make sure strsep() gets a nul-terminated string.
Reviewed by: phk
|
Revision tags: release/4.7.0_cvs |
|
#
9d010543 |
| 21-Aug-2002 |
Warner Losh <imp@FreeBSD.org> |
Don't use NULL where you really mean 0 to sysctlbyname.
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
d3974088 |
| 22-Apr-2002 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Usage style sweep: spell "usage" with a small 'u'. Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
#
40dcc860 |
| 21-Mar-2002 |
Mike Barcroft <mike@FreeBSD.org> |
Revert 1.20: Memory disks may be used for other purposes besides newfs(8), so it isn't helpful to require the minimum size meet newfs(8)'s criteria.
|
#
6a1bd017 |
| 21-Mar-2002 |
Mike Barcroft <mike@FreeBSD.org> |
Provide a proper error message in mdconfig(8) when a filesystem is too small, instead of a less meaningful error in newfs(8).
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
53d745bc |
| 20-Dec-2001 |
Dima Dorfman <dd@FreeBSD.org> |
Actually make use of the md_version field of 'struct mdio'. In order not to needlessly break compatibility, decrement MDIOVERSION to 0.
Approved by: phk
|
#
3fa96e66 |
| 07-Aug-2001 |
Dima Dorfman <dd@FreeBSD.org> |
Move all the prototypes to one place.
|