<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/boot/pc98/libpc98/biosdisk.c, 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>2017-02-11T02:45:54Z</updated>
<entry>
<title>Remove sys/boot/pc98 accidentally restored in r313575</title>
<updated>2017-02-11T02:45:54Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2017-02-11T02:45:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=157cf559491b7550fad22c58ae0652e651142e7c'/>
<id>urn:sha1:157cf559491b7550fad22c58ae0652e651142e7c</id>
<content type='text'>
Reported by:	rpokala
</content>
</entry>
<entry>
<title>makefs: make the buffer functions look exactly like the kernel ones</title>
<updated>2017-02-11T02:33:48Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2017-02-11T02:33:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78b11a5903f62967306fe722ff0fc85491666121'/>
<id>urn:sha1:78b11a5903f62967306fe722ff0fc85491666121</id>
<content type='text'>
From NetBSD christos Sat Jan 26 00:19:39 2013 +0000

make the buffer functions look exactly like the kernel ones and add other
cruft to make the kernel files compile.

ffs.c 1.54
ffs/buf.c 1.13
ffs/buf.h 1.3
ffs/ffs_alloc.c 1.21
ffs/ffs_balloc.c 1.15

Reviewed by:	marcel, ngie
Obtained from:	NetBSD
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D8404
</content>
</entry>
<entry>
<title>Remove pc98 support completely.</title>
<updated>2017-01-28T02:22:15Z</updated>
<author>
<name>Yoshihiro Takahashi</name>
<email>nyan@FreeBSD.org</email>
</author>
<published>2017-01-28T02:22:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2b375b4edd1b98884c3031d6ccd61acb10bd895d'/>
<id>urn:sha1:2b375b4edd1b98884c3031d6ccd61acb10bd895d</id>
<content type='text'>
I thank all developers and contributors for pc98.

Relnotes:	yes
</content>
</entry>
<entry>
<title>dosfs support in libstand is broken since r298230</title>
<updated>2016-12-30T19:06:29Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2016-12-30T19:06:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1ecc8591937769c466e90ad97853b9dacd94b214'/>
<id>urn:sha1:1ecc8591937769c466e90ad97853b9dacd94b214</id>
<content type='text'>
Apparently the libstand dosfs optimization is a bit too optimistic
and did introduce possible memory corruption.

This patch is backing out the bad part and since this results in
dosfs reading full blocks now, we can also remove extra offset argument
from dv_strategy callback.

The analysis of the issue and the backout patch is provided by Mikhail Kupchik.

PR:		214423
Submitted by:	Mikhail Kupchik
Reported by:	Mikhail Kupchik
Reviewed by:	bapt, allanjude
Approved by:	allanjude (mentor)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D8644
</content>
</entry>
<entry>
<title>lsdev device name section headers should be printed by dv_print callback.</title>
<updated>2016-11-19T08:54:21Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2016-11-19T08:54:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=77d81a4dab2b244441fb5c6660af32bc70b6208c'/>
<id>urn:sha1:77d81a4dab2b244441fb5c6660af32bc70b6208c</id>
<content type='text'>
lsdev command does walk over devsw list, prints list element name and
will use dv_print() callback to print the device list.
Unfortunately this approach will add unneeded noise when there are no
particular devices detected.

To remove "empty" device section headers, the dv_print() callback
should print the header instead.

In addition, fixed dv_print callback for md module.

Reviewed by:	imp
Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D8551
</content>
</entry>
<entry>
<title>Loader paged/pageable data is not always paged.</title>
<updated>2016-11-08T06:50:18Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2016-11-08T06:50:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cbd6713146d14bb506626d8add767771f9cbfb97'/>
<id>urn:sha1:cbd6713146d14bb506626d8add767771f9cbfb97</id>
<content type='text'>
This change does modify devsw dv_print() to return the int value,
enabling walkers to interrupt the walk on non zero value from dv_print().

This will allow the pager_print actually to stop displaying data on
user input, and additionally pager is used in various *dev_print callbacks,
where it was missing.

For test, lsdev [-v] command should display data by screenfuls and should
stop when the key 'q' is pressed on pager prompt.

Reviewed by:	allanjude
Approved by:	allanjude (mentor)
Differential Revision:	https://reviews.freebsd.org/D5461
</content>
</entry>
<entry>
<title>Fix several instances where the boot loader ignored pager_output</title>
<updated>2016-05-18T05:59:05Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2016-05-18T05:59:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a0b26ec6f646291c929bd2536890f3732cbcae5'/>
<id>urn:sha1:9a0b26ec6f646291c929bd2536890f3732cbcae5</id>
<content type='text'>
return value when it could return 1 (indicating we should stop).
Fix a few instances of pager_open() / pager_close() not being called.
Actually use these routines for the environment variable printing code
I just committed.
</content>
</entry>
<entry>
<title>Fix more pc98 build issues re: bcache change</title>
<updated>2016-04-22T16:20:58Z</updated>
<author>
<name>Allan Jude</name>
<email>allanjude@FreeBSD.org</email>
</author>
<published>2016-04-22T16:20:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e495d6b3dbadf0251670242ed0548b8c8a811e52'/>
<id>urn:sha1:e495d6b3dbadf0251670242ed0548b8c8a811e52</id>
<content type='text'>
Reported by:	bz, emaste
</content>
</entry>
<entry>
<title>Fix pc98 build error introduced in r298230</title>
<updated>2016-04-19T15:46:21Z</updated>
<author>
<name>Allan Jude</name>
<email>allanjude@FreeBSD.org</email>
</author>
<published>2016-04-19T15:46:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cad5a2e46821adfc6274d2b32df88d6ccbe21010'/>
<id>urn:sha1:cad5a2e46821adfc6274d2b32df88d6ccbe21010</id>
<content type='text'>
Submitted by:	Toomas Soome &lt;tsoome@me.com&gt;
Spotted by:	bz
Differential Revision:	https://reviews.freebsd.org/D6002
</content>
</entry>
<entry>
<title>A new implementation of the loader block cache</title>
<updated>2016-04-18T23:09:22Z</updated>
<author>
<name>Allan Jude</name>
<email>allanjude@FreeBSD.org</email>
</author>
<published>2016-04-18T23:09:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=87ed2b7f5a213578bd523c9f2ec217934167319a'/>
<id>urn:sha1:87ed2b7f5a213578bd523c9f2ec217934167319a</id>
<content type='text'>
The block cache implementation in loader has proven to be almost useless, and in worst case even slowing down the disk reads due to insufficient cache size and extra memory copy.
Also the current cache implementation does not cache reads from CDs, or work with zfs built on top of multiple disks.
Instead of an LRU, this code uses a simple hash (O(1) read from cache), and instead of a single global cache, a separate cache per block device.
The cache also implements limited read-ahead to increase performance.
To simplify read ahead management, the read ahead will not wrap over bcache end, so in worst case, single block physical read will be performed to fill the last block in bcache.

Booting from a virtual CD over IPMI:
0ms latency, before: 27 second, after: 7 seconds
60ms latency, before: over 12 minutes, after: under 5 minutes.

Submitted by:	Toomas Soome &lt;tsoome@me.com&gt;
Reviewed by:	delphij (previous version), emaste (previous version)
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D4713
</content>
</entry>
</feed>
