#
71e85ce4 |
| 14-Oct-2023 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Disable disk media access for RESTRICTEDROOT environments
* Do not allow disk media (e.g. /dev/da0 and so forth) to be accessed if RESTRICTEDROOT is active. Note that RESTRICTEDROOT is a
kernel - Disable disk media access for RESTRICTEDROOT environments
* Do not allow disk media (e.g. /dev/da0 and so forth) to be accessed if RESTRICTEDROOT is active. Note that RESTRICTEDROOT is automatically set for jails.
show more ...
|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.2.0, v6.3.0 |
|
#
f4e72ada |
| 25-Nov-2021 |
Sascha Wildner <saw@online.de> |
kernel: Staticize some variables.
|
Revision tags: v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3 |
|
#
3064590a |
| 03-Nov-2019 |
François Tigeot <ftigeot@wolfpond.org> |
devfs: Add a vnode pointer argument to dev_dopen()
* Initialize fp->f_data with it when possible
* drm drivers expect to be able to access vnode information in their open() function
Reviewed-by:
devfs: Add a vnode pointer argument to dev_dopen()
* Initialize fp->f_data with it when possible
* drm drivers expect to be able to access vnode information in their open() function
Reviewed-by: dillon
show more ...
|
Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2 |
|
#
fcf6efef |
| 02-Mar-2019 |
Sascha Wildner <saw@online.de> |
kernel: Remove numerous #include <sys/thread2.h>.
Most of them were added when we converted spl*() calls to crit_enter()/crit_exit(), almost 14 years ago. We can now remove a good chunk of them agai
kernel: Remove numerous #include <sys/thread2.h>.
Most of them were added when we converted spl*() calls to crit_enter()/crit_exit(), almost 14 years ago. We can now remove a good chunk of them again for where crit_*() are no longer used.
I had to adjust some files that were relying on thread2.h or headers that it includes coming in via other headers that it was removed from.
show more ...
|
#
46acecf8 |
| 28-Feb-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Add /dev/part-by-label
* The DragonFly disklabel has a 'label' field which accepts up to a 63 byte ascii label.
* When this field is not empty, the kernel will now create a "/dev/part-
kernel - Add /dev/part-by-label
* The DragonFly disklabel has a 'label' field which accepts up to a 63 byte ascii label.
* When this field is not empty, the kernel will now create a "/dev/part-by-label/<label>.<part>" alias.
For example, if the label is FUBAR and you create a label with partitions 'a', 'b', and 'd', then you will get:
# ls /dev/part-by-label FUBAR.a FUBAR.b FUBAR.d
* WARNING! Duplicate labels will replace each other, so the label that shows up will be non-deterministic.
Suggested-by: Aaron LI
show more ...
|
Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc |
|
#
28e14502 |
| 04-Feb-2018 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Do not panic on media size of zero in disk_probe()
* Do not panic if the media size is zero in disk_probe().
|
Revision tags: v5.0.2, v5.0.1, v5.0.0 |
|
#
51f1bd2c |
| 02-Oct-2017 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Add KVABIO support to NVMe, disk translation layer, and swap
* Add KVABIO support to the NVMe driver. The driver no longer requires that buffers be synchronized to all cpus.
* Add KVABI
kernel - Add KVABIO support to NVMe, disk translation layer, and swap
* Add KVABIO support to the NVMe driver. The driver no longer requires that buffers be synchronized to all cpus.
* Add KVABIO support to the disk translation layer. The layer no longer requires that buffers besynchronized to all cpus (note however that the underlying device may still require such).
* Add KVABIO support to the swap subsystem. Again, actual avoidance of buffer memory synchronization depends on the underlying devices.
show more ...
|
Revision tags: v5.0.0rc2, v5.1.0, v5.0.0rc1 |
|
#
794d80aa |
| 12-Sep-2017 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Change legacy MBR partition type from 0xA5 to 0x6C
* Should have done this years ago but finally change the legacy MBR partition type DragonFlyBSD uses from 0xA5 (which was shared with
kernel - Change legacy MBR partition type from 0xA5 to 0x6C
* Should have done this years ago but finally change the legacy MBR partition type DragonFlyBSD uses from 0xA5 (which was shared with FreeBSD), to something different 0x6C.
* Makes it less confusing for Grub.
* Does not change EFI boot, which uses 16-byte UUIDs (we already have our own) and does not use 8-bit partition ids.
* Boot code and kernel now recognize both 0xA5 and 0x6C. Existing users do *NOT* need to reinstall their boot code.
show more ...
|
#
32c821cf |
| 08-Sep-2017 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Adjust emergency pager, add D_NOEMERGPGR
* Adjust emergency pager and pager thread tests a little. Allow the emergency pager to also page to VCHR devices as long as D_NOEMERGPGR is not
kernel - Adjust emergency pager, add D_NOEMERGPGR
* Adjust emergency pager and pager thread tests a little. Allow the emergency pager to also page to VCHR devices as long as D_NOEMERGPGR is not flagged.
* Add the D_NOEMERGPGR flag and apply to "vn" and "mfs" block devices.
show more ...
|
Revision tags: v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc |
|
#
5a4bb8ec |
| 09-Jan-2017 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Incidental MPLOCK removal (non-performance)
* proc filterops.
* kernel linkerops and kld code.
* Warn if a non-MPSAFE interrupt is installed.
* Use a private token in the disk messaging
kernel - Incidental MPLOCK removal (non-performance)
* proc filterops.
* kernel linkerops and kld code.
* Warn if a non-MPSAFE interrupt is installed.
* Use a private token in the disk messaging core (subr_disk) instead of the mp token.
* Use a private token for sysv shm adminstrative calls.
* Cleanup.
show more ...
|
Revision tags: v4.6.1 |
|
#
57e09377 |
| 07-Aug-2016 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Cleanup gcc warnings
* Cleanup gcc warnings at higher optimization levels. This will allow us to build kernels -O2 or -O3.
|
Revision tags: v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc |
|
#
3573cf7b |
| 11-Nov-2015 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Remove dsched
* After consultation, remove dsched from the kernel. The original idea is still valid but the current implementation has had lingering bugs for several years now and we'v
kernel - Remove dsched
* After consultation, remove dsched from the kernel. The original idea is still valid but the current implementation has had lingering bugs for several years now and we've determined that it's just got its fingers into too many structures.
Also, the implementation was designed before SSDs, and doesn't play well with SSDs.
* Leave various empty entry points in so we can revisit at some future date.
show more ...
|
Revision tags: v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3 |
|
#
0702347d |
| 02-Aug-2012 |
Nuno Antunes <nuno.antunes@gmail.com> |
kernel: Use lwkt_domsg() instead of lwkt_sendmsg() + lwkt_waitmsg().
|
#
59b728a7 |
| 18-Feb-2015 |
Sascha Wildner <saw@online.de> |
sys/kern: Adjust some function declaration vs. definition mismatches.
All these functions are declared static already, so no functional change.
|
#
ce486e08 |
| 14-Jan-2014 |
Markus Pfeiffer <markus.pfeiffer@morphism.de> |
Apply patches to enable get/set_cdevpriv
|
#
8c530b23 |
| 18-Dec-2013 |
Johannes Hofmann <johannes.hofmann@gmx.de> |
add file pointer to dev_d*() functions
|
#
dc71b7ab |
| 31-May-2013 |
Justin C. Sherrill <justin@shiningsilence.com> |
Correct BSD License clause numbering from 1-2-4 to 1-2-3.
Apparently everyone's doing it: http://svnweb.freebsd.org/base?view=revision&revision=251069
Submitted-by: "Eitan Adler" <lists at eitanadl
Correct BSD License clause numbering from 1-2-4 to 1-2-3.
Apparently everyone's doing it: http://svnweb.freebsd.org/base?view=revision&revision=251069
Submitted-by: "Eitan Adler" <lists at eitanadler.com>
show more ...
|
#
2702099d |
| 06-May-2013 |
Justin C. Sherrill <justin@shiningsilence.com> |
Remove advertising clause from all that isn't contrib or userland bin.
By: Eitan Adler <lists@eitanadler.com>
|
#
699b57b6 |
| 03-Dec-2012 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Reorder dsched teardown to fix race
* Remove the struct disk from its list prior to tearing down the device instead of after in order to fix a race related to disk enumerations.
* Wait f
kernel - Reorder dsched teardown to fix race
* Remove the struct disk from its list prior to tearing down the device instead of after in order to fix a race related to disk enumerations.
* Wait for active references on the disk structure to go away before tearing down the device.
show more ...
|
#
0ec487a5 |
| 30-Nov-2012 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Move dsched_disk_destroy_callback() call
* Move the dsched_disk_destroy_callback() call from the caller to the message handler to avoid racing a disk probe that might be running at the
kernel - Move dsched_disk_destroy_callback() call
* Move the dsched_disk_destroy_callback() call from the caller to the message handler to avoid racing a disk probe that might be running at the time (if a disk device is added and destroyed quickly).
show more ...
|
#
5374d04f |
| 30-Nov-2012 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Fix races in disk iteration and diskctx handling
* Add disk->d_refs to prevent a disk structure from being destroyed out from under an iteration.
* Redo the disk_enumeration() API to use
kernel - Fix races in disk iteration and diskctx handling
* Add disk->d_refs to prevent a disk structure from being destroyed out from under an iteration.
* Redo the disk_enumeration() API to use markers and d_refs.
* Make adjustments to the dsched API. In particular, do not return unreferenced tdio pointers in situations where they aren't used by the caller.
* Properly implement the ref count on the tdio's, one for each of the two lists the tdio belongs to, and ensure that dsched_thread_io_alloc() keeps an extra ref on the tdio after releasing the diskctx lock to prevent it from being ripped out while the code is pondering whether to place the tdio on the tdctx list.
* When deleting the tdio's for a tdctx try to destroy the diskctx. That is, simply dereferencing it from the thread is not sufficient.
* When deleting the tdio's for a diskctx try to destroy the tdctx. That is, simply dereferencing it from the diskctx is not sufficient.
* Handle destroy/ref races.
show more ...
|
#
185ace93 |
| 25-Oct-2012 |
Matthew Dillon <dillon@apollo.backplane.com> |
hammer2 - Add server-side disk advertisements
* The hammer2 service demon now tracks disks and connects the cluster controller to each one.
* Add a new ioctl to the subr_disk subsystem and add su
hammer2 - Add server-side disk advertisements
* The hammer2 service demon now tracks disks and connects the cluster controller to each one.
* Add a new ioctl to the subr_disk subsystem and add subr_diskiocom.c to implement it, associating a cluster controller messaging descriptor with a disk device.
* disk device initiates LNK_CONN and LNK_SPAN. Disk block devices now advertised through the spanning tree. Nothing else implemented yet.
show more ...
|
#
a789299f |
| 25-Oct-2012 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - cleanup subr_disk.c
* Formatting cleanup pass.
|
#
c6de20f8 |
| 07-Apr-2012 |
François Tigeot <ftigeot@wolfpond.org> |
Kernel - properly handle max. io size when dumping
* A magic constant was used to define the maximum IO size used when dumping core
* Stop this practice and use the information provided by the un
Kernel - properly handle max. io size when dumping
* A magic constant was used to define the maximum IO size used when dumping core
* Stop this practice and use the information provided by the underlying device driver, capping the result to MAXPHYS if needed.
* This should fix issue #2343
show more ...
|
#
a7a95662 |
| 04-Apr-2012 |
Sascha Wildner <saw@online.de> |
kernel: Pass a real format string to functions which expect one.
This is safer than just passing a random string.
A few of these changes might be overly cautious but it doesn't hurt to stick with u
kernel: Pass a real format string to functions which expect one.
This is safer than just passing a random string.
A few of these changes might be overly cautious but it doesn't hurt to stick with using formats where they are expected more or less generally.
show more ...
|