same time as it is changed back into a normal file. The locker would
get the shared "snaplk" lock which would no longer be the correct lock
for the vnode.
vn_start_write()/vn_finished_write() is not needed here, because
vn_start_write() is always called earlier in the code path and calling
the function recursively may lead to a deadlock.
Confirmed by: tegge
Be more like Windows and Linux and send our hostname in the host-name
option if none is given in the config file. Also add #ifdefd out
support for sending a client ID based on our MAC address.
PR: bin/94743, bin/76401
Submitted by: Frank Behrens <frank at pinky dot sax dot de>
+ Include netinet/in.h for ntohl()
* Since the return value was tested separately, cast the values to
size_t in order to shut up compiler warnings.
+ Raise WARNS= level to 6
PR: bin/71666
Submitted by: Dan Lukes <dan at obluda.cz>
* Improve sysresource probing
* Use CTR for the EC logging
* Remove unused variables
* Add an AML IO port blacklist, prints warning only for now
* Fallback to the RSDT if the XSDT is invalid in APIC probe
# Note that when -d flag is used, mountd(8) will not detach from the
# controlling terminal.
#
# PR: docs/96660
# Submitted by: Jeff Ito <ijk@speakeasy.net>
# MFC after: 1 week
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