<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/mdconfig/mdconfig.8, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-06-01T23:31:04Z</updated>
<entry>
<title>mdconfig: remove the "cluster" option.</title>
<updated>2024-06-01T23:31:04Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2024-06-01T18:38:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e461c7bc7dde5dc84dc9e04cb623c6f567bfe6e5'/>
<id>urn:sha1:e461c7bc7dde5dc84dc9e04cb623c6f567bfe6e5</id>
<content type='text'>
It's never had any effect.  The kernel ignores it.  Remove it from the
documentation.  But continue to parse it on the command line, for
backwards-compatibility.

Reviewed by:	imp
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1271
</content>
</entry>
<entry>
<title>man filesystems: fix xrefs after move to section 4</title>
<updated>2024-05-16T16:25:29Z</updated>
<author>
<name>Alexander Ziaee</name>
<email>concussious@runbox.com</email>
</author>
<published>2024-05-15T18:59:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a720cbec513210fa2e85c3882741ef2f6dc5f35'/>
<id>urn:sha1:1a720cbec513210fa2e85c3882741ef2f6dc5f35</id>
<content type='text'>
Reviewed by: des, imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
</content>
</entry>
<entry>
<title>sbin: Remove ancient SCCS tags.</title>
<updated>2023-11-27T05:23:29Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-23T17:21:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=51e16cb8fc536913f490ac6bc9c17e92ebd0411b'/>
<id>urn:sha1:51e16cb8fc536913f490ac6bc9c17e92ebd0411b</id>
<content type='text'>
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: two-line nroff pattern</title>
<updated>2023-08-16T17:55:10Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa9896e082a1046ff4fbc75fcba4d18d1f2efc19'/>
<id>urn:sha1:fa9896e082a1046ff4fbc75fcba4d18d1f2efc19</id>
<content type='text'>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>md: Add MD_MUSTDEALLOC support</title>
<updated>2021-09-11T12:04:52Z</updated>
<author>
<name>Ka Ho Ng</name>
<email>khng@FreeBSD.org</email>
</author>
<published>2021-09-11T12:03:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3703c18883341f3ff09c42d7f3b36ab80e4a071b'/>
<id>urn:sha1:3703c18883341f3ff09c42d7f3b36ab80e4a071b</id>
<content type='text'>
This adds an option to detect if hole-punching is implemented by the
underlying file system.  If this flag is set, and if the underlying file
system does not support hole-punching, md(4) fails BIO_DELETE requests
with EOPNOTSUPP.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D31883
</content>
</entry>
<entry>
<title>Use Cm macros instead of Ar when referring to a specific memory disk type</title>
<updated>2020-11-06T15:55:13Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2020-11-06T15:55:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8bd4b3f949d31ea4cf1c80ab247eddb45b626dab'/>
<id>urn:sha1:8bd4b3f949d31ea4cf1c80ab247eddb45b626dab</id>
<content type='text'>
MFC after:	3 days
</content>
</entry>
<entry>
<title>Fix a typo and remove Xr's to vn(4) and vnconfig(4)</title>
<updated>2020-11-06T15:38:51Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2020-11-06T15:38:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f35062c735c83fba39d845757ef78d2638516926'/>
<id>urn:sha1:f35062c735c83fba39d845757ef78d2638516926</id>
<content type='text'>
"mandoc -Tlint" complained about the Xr to vnconfig, which was removed in
r238202.  I am not sure but maybe it's time to do the same to vn(4).

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Use VOP_ADVISE() with POSIX_FADV_DONTNEED instead of IO_DIRECT to</title>
<updated>2018-12-21T08:15:31Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2018-12-21T08:15:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9e5ed8593f6bf24929021e092e2de23e8ed9e7b8'/>
<id>urn:sha1:9e5ed8593f6bf24929021e092e2de23e8ed9e7b8</id>
<content type='text'>
implement not double-caching for reads from vnode-backed md devices.
Use VOP_ADVISE() similarly instead of !IO_DIRECT unsimilarly for writes.
Add a "cache" option to mdconfig to allow changing the default of not
caching.

This depends on a recent commit to fix VOP_ADVISE().  A previous version
had optimizations for sequential i/o's (merge the i/o's and only uncache
for discontiguous i/o's and for full blocks), but optimizations and
knowledge of block boundaries belong in VOP_ADVISE().  Read-ahead should
also be handled better, by supporting it in md and discarding it in
VOP_ADVISE().

POSIX_FADV_DONTNEED is ignored by zfs, but so is IO_DIRECT.

POSIX_FADV_DONTNEED works better than IO_DIRECT if it is not ignored,
since it only discards from the buffer cache immediately, while
IO_DIRECT also discards from the page cache immediately.

IO_DIRECT was not used for writes since it was claimed to be too slow,
but most of the slowness for writes is from doing them synchronously by
default.  Non-synchronous writes still deadlock in many cases.

IO_DIRECT only has a special implementation for ffs reads with DIRECTIO
configured.  Otherwise, if it is not ignored than it uses the buffer and
page caches normally except for discarding everything after each i/o,
and then it has much the same overheads as POSIX_FADV_DONTNEED.  The
overheads for reading with ffs and DIRECTIO were similar in tests of md.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>Add ability to label md(4) devices.</title>
<updated>2017-08-28T15:54:07Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2017-08-28T15:54:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f7ca2bbe447a5224efb4078fdd1d29910f495b91'/>
<id>urn:sha1:f7ca2bbe447a5224efb4078fdd1d29910f495b91</id>
<content type='text'>
This feature comes from the fact that we rely memory-backed md(4)
in our build process heavily. However, if the build goes haywire
the allocated resources (i.e. swap and memory-backed md(4)'s) need
to be purged. It is extremely useful to have ability to attach
arbitrary labels to each of the virtual disks so that they can
be identified and GC'ed if neecessary.

MFC after:	4 weeks
Differential Revision:	https://reviews.freebsd.org/D10457
</content>
</entry>
<entry>
<title>Add MD_VERIFY option to enable O_VERIFY in open for vnode type.</title>
<updated>2017-05-31T21:18:11Z</updated>
<author>
<name>Stephen J. Kiernan</name>
<email>stevek@FreeBSD.org</email>
</author>
<published>2017-05-31T21:18:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a81ba0f241a477b92f3ae3b48429a04724459f2'/>
<id>urn:sha1:9a81ba0f241a477b92f3ae3b48429a04724459f2</id>
<content type='text'>
Add -o [no]verify option to mdconfig (and document in man page.)
Implement GEOM attribute MNT::verified to ask md if the backing vnode is
  verified.
Check for MNT::verified in cd9660 mount to flag the mount as MNT_VERIFIED if
  the underlying device has been verified.

Reviewed by:	rwatson
Approved by:	sjg (mentor)
Obtained from:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D2902
</content>
</entry>
</feed>
