<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/md, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-02-12T16:46:41Z</updated>
<entry>
<title>Annotate geom_md with MODULE_VERSION</title>
<updated>2022-02-12T16:46:41Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2022-02-10T06:15:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b36a4ee6687b1407a6eeceda7d33e85d4b72a130'/>
<id>urn:sha1:b36a4ee6687b1407a6eeceda7d33e85d4b72a130</id>
<content type='text'>
This was missed in 74d6c131cbe2 where other geom modules were annotated
with MODULE_VERSION.  Again, the problem is the same: we can't detect
that geom_md is loaded into the kernel without it.

This was noticed in release builds on the cluster; mdconfig attempts to
load geom_md because it can't detect it in the kernel, but the cluster
config includes md(4) and does not build the kmod.  This problem would
have been masked on hosts with the kmod built, as the kmod attempts to
register the g_md module and fails.  With this commit, mdconfig would
not even try to load it again.

(cherry picked from commit b9c92d631cfb06c12b0d2d9ad29a9f3f0b856237)
</content>
</entry>
<entry>
<title>sys/dev/md: Drop unncessary __GLOBL(mfs_root)</title>
<updated>2021-06-26T15:52:06Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2021-03-30T13:53:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d4f253ea50f7682f72d3f86bcc9019089dae096c'/>
<id>urn:sha1:d4f253ea50f7682f72d3f86bcc9019089dae096c</id>
<content type='text'>
LLVM12 complains if you change the symbol binding:
error: mfs_root_end changed binding to STB_WEAK [-Werror,-Winline-asm]
error: mfs_root changed binding to STB_WEAK [-Werror,-Winline-asm]

(cherry picked from commit 69e18c9b7b12e7fd97a740d8748d8718021a1e34)
</content>
</entry>
<entry>
<title>MFC 366897: Use a template assembly file to generate the embedded MFS.</title>
<updated>2020-12-10T21:12:25Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-12-10T21:12:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=15af8574cc269c0afc17961511aebba25bfb1607'/>
<id>urn:sha1:15af8574cc269c0afc17961511aebba25bfb1607</id>
<content type='text'>
This uses the .incbin directive to pull in the MFS image contents.
Using assembly directly ensures that symbols can be defined with the
name and properties (such as .size) desired without having to rename
symbols, etc. via a second objcopy invocation.  Since it is compiled
by the C compiler driver, it also avoids the need for all of the
EMBEDFS* make variables.
</content>
</entry>
<entry>
<title>MFC r362739:</title>
<updated>2020-07-06T13:54:44Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-07-06T13:54:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4998edf02583ec0edf83925d824a8009a33aea51'/>
<id>urn:sha1:4998edf02583ec0edf83925d824a8009a33aea51</id>
<content type='text'>
Remove some redundant assignments and computations.
</content>
</entry>
<entry>
<title>MFC r356315: Avoid duplicate I/O statistics accounting.</title>
<updated>2020-01-17T04:11:17Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2020-01-17T04:11:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8d422de2686b8a62dfceb445f5c528bd1586ccd9'/>
<id>urn:sha1:8d422de2686b8a62dfceb445f5c528bd1586ccd9</id>
<content type='text'>
Alike to geom_disk free the provider statistics structure and point GEOM
toward local statistics.  It allows to save some CPU time.
</content>
</entry>
<entry>
<title>MFC of 345758</title>
<updated>2019-04-15T12:07:41Z</updated>
<author>
<name>Kirk McKusick</name>
<email>mckusick@FreeBSD.org</email>
</author>
<published>2019-04-15T12:07:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b8a4423f84084f74865fe70f09f7e4fd8faaca9b'/>
<id>urn:sha1:b8a4423f84084f74865fe70f09f7e4fd8faaca9b</id>
<content type='text'>
Properly flush outstanding I/Os when forcibly deleteing a memory disk device.

Sponsored by: Netflix
</content>
</entry>
<entry>
<title>md: use prestaged mfs_root</title>
<updated>2018-06-07T13:57:34Z</updated>
<author>
<name>Breno Leitao</name>
<email>leitao@FreeBSD.org</email>
</author>
<published>2018-06-07T13:57:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7b2c7b92befda002f51e7cc4d02bd0853be88d9e'/>
<id>urn:sha1:7b2c7b92befda002f51e7cc4d02bd0853be88d9e</id>
<content type='text'>
On PowerNV systems, the rootfs is passed through kexec, which loads the rootfs
into memory and set two fdt entries to describe where the file is located in
the memory;

I need to pass this memory region to the md device as a mfs_root, but, current
md driver does not support two things:

 * Just getting a pointer from an external (bootloader) memory. If I need to
workaround it, I would need to declare a static array and memcopy from this
external memory to this static variable.

 * The size of the image. The usage of mfs_root_end, which is not a pointer,
seems to be not possible for this prestaged scenario.

This patch simply adds a new way to load mfs_root from memory.

Differential Revision: https://reviews.freebsd.org/D15625
Approved by: kib, jhibbits (mentor)
</content>
</entry>
<entry>
<title>Move most of the contents of opt_compat.h to opt_global.h.</title>
<updated>2018-04-06T17:35:35Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-04-06T17:35:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd'/>
<id>urn:sha1:6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd</id>
<content type='text'>
opt_compat.h is mentioned in nearly 180 files. In-progress network
driver compabibility improvements may add over 100 more so this is
closer to "just about everywhere" than "only some files" per the
guidance in sys/conf/options.

Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset of
sys/compat/linux/*.c.  A fake _COMPAT_LINUX option ensure opt_compat.h
is created on all architectures.

Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control the
set of compiled files.

Reviewed by:	kib, cem, jhb, jtl
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14941
</content>
</entry>
<entry>
<title>Move 32-bit compat for md(4) ioctls into the md code.</title>
<updated>2018-03-27T16:07:54Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-03-27T16:07:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=026cac821351142e0130eea17b1ba0e082ecbc69'/>
<id>urn:sha1:026cac821351142e0130eea17b1ba0e082ecbc69</id>
<content type='text'>
This is more correct in that ioctl commands have no meaning until they
hit the handler associated with the file descriptor.

Add support for MDIOCRESIZE_32 which was missed when it was added.

Reviewed by:	cem, kib, markj (various versions)
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14714
</content>
</entry>
<entry>
<title>Move uio enums to sys/_uio.h.</title>
<updated>2018-03-27T15:20:03Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-03-27T15:20:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=34a77b974108eecc559c97b3ef170e3f18ffb644'/>
<id>urn:sha1:34a77b974108eecc559c97b3ef170e3f18ffb644</id>
<content type='text'>
Include _uio.h instead of uio.h in several headers to reduce header
polution.

Fix a few places that relied on header polution to get the uio.h header.

I have not moved struct uio as many more things that use it rely on
header polution to get other definitions from uio.h.

Reviewed by:	cem, kib, markj
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14811
</content>
</entry>
</feed>
