rev 1.69, 1.68
Free some memory leaks
rev 1.66
Update PCI ids to add the E200, E200i, P400, and P400i storage
controllers. Remove the E400 since it is not a real product.
sys/geom/eli/g_eli_crypto.c 1.3
Sync geli with HEAD.
- geli(8) provides keys on newsession time, so remove CRD_F_KEY_EXPLICIT flag
as HW crypto drivers don't support it.
- Correct debug: we are sending child bio here, not parent bio.
- Pass BIO_GETATTR requests down.
sys/geom/raid3/g_raid3.h 1.18
sys/geom/raid3/g_raid3_ctl.c 1.16
Sync graid3 with HEAD.
- Introduce and use delayed-destruction functionality from a pre-sync hook,
which means that devices will be destroyed on last close.
This fixes destruction order problems when, eg. RAID3 array is build on
top of RAID1 arrays.
Requested, reviewed and tested by: ru
- Be sure to not destroy device twice. This is only possible in theory, but
with this change there is even no theoretical race.
- Remove dead code.
- Comment possible event miss, which isn't critical, but probably can be
fixed by replacing the event lock usage with the queue lock.
- Use G_RAID3_FOREACH_SAFE_BIO() macro instead of G_RAID3_FOREACH_BIO() in
two places where g_io_request() is called. g_io_request() can free bio
structure so we can't reference it after and G_RAID3_FOREACH_BIO() macro
was doing this.
Found by: Coverity Prevent analysis tool (with my new models)
sys/geom/mirror/g_mirror.h 1.23
sys/geom/mirror/g_mirror_ctl.c 1.16
Sync gmirror with HEAD:
- Introduce and use delayed-destruction functionality from a pre-sync hook,
which means that devices will be destroyed on last close.
This fixes destruction order problems when, eg. RAID3 array is build on
top of RAID1 arrays.
Requested, reviewed and tested by: ru
- Be sure to not destroy device twice. This is only possible in theory, but
with this change there is even no theoretical race.
- Remove dead code.
- Comment possible event miss, which isn't critical, but probably can be
fixed by replacing the event lock usage with the queue lock.
sys/vm/swap_pager.h 1.51
sys/vm/swap_pager.c 1.278,1.279
On shutdown try to turn off all swap devices. This way GEOM providers are
properly closed on shutdown.
Requested by: ru
Reviewed by: alc
Fix binary upgrades by accounting for the schg flag on /var/empty.
PR: 96711, 96780
Submitted by: Nobuyuki Koganemaru, Martin Jackson
Approved by: re (scottl)
- If no pidfile has been created at startup, only stop processes
with current jid.
src/etc/rc.subr: rev 1.53 -> 1.55
PR: conf/93287
Submitted by: anders
Approved by: re (scottl)
- Add following global jail options, used if no jail-specific options are
set:
* jail_mount_enable
* jail_devfs_ruleset
* jail_devfs_enable
* jail_fdescfs_enable
* jail_procfs_enable
* jail_fstab
* jail_flags
- Add a jail_interface / jail_<jid>_interface option. An ip alias will be
created (jail_<jid>_ip) on jail_interface or jail_<jid>_interface if set.
This is not a mandatory option.
- Document all missing jail_* options in rc.conf(5).
src/share/man/man5/rc.conf.5: rev 1.289 -> 1.290
src/etc/rc.d/jail: rev 1.26 -> 1.27
Approved by: re (scottl)
We shouldn't lock the topology here - we will panic on assertion inside
g_raid3_bump_syncid().
Reported by: Bradley W. Dutton <brad-fbsd-stable@duttonbros.com>
Approved by: re (kensmith)
The removal of CIRCLEQ left four queue macro families, but one sentence
in the man page wasn't updated.
PR: docs/94938
Submitted by: Ed Schouten <ed@fxq.nl>
Approved by: re
pad (cisco calls it sampling_interval) fields in netflow v5 header.
MFC rev. 1.4 netflow.h: replace disappeared URLs to Cisco docs by
new ones, style.
Approved by: re (kensmith)
> Clear TDF_SINTR in sleepq_resume_thread, also sleepq_catch_signal does
> not need to clear it now, this should fix panic when msleep is recursivly
> called. Patch is slightly adjusted after review.
Approved by: re (scottl)