| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
Reviewed by: kib
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Although native word padding (i.e. 8-byte on 64bit arch) looks to be
in agreement with standards, other parts of our code and other OSes
use 4-byte alignment.
This is not expected to change alignment for currently generated core
dump notes, as the notes look to consist of structures with sizes
multiple of 8 on 64-bit archs. But there are plans to add additional
notes, where 4-byte vs 8-byte alignment makes difference.
Discussed with: kib
Reviewed by: kib
MFC after: 2 weeks
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
POSIX mqueue, compatibility ksem and POSIX shm create a file descriptor that
has close-on-exec set. However, they do this incorrectly, leaving a window
where a thread may fork and exec while the flag has not been set yet. The
race is easily reproduced on a multicore system with one thread doing
shm_open and close and another thread doing posix_spawnp and waitpid.
Set UF_EXCLOSE via falloc()'s flags argument instead. This also simplifies
the code.
MFC after: 1 week
|
|
|
|
|
| |
PR: arm/177685
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
|
| |
|
|
|
|
|
|
| |
(ARM uses 'int' and 'unsigned'; i386 uses 'long' and 'unsigned long'),
so we need explicit casts to long and unsigned long here to ensure
that the result matches the printf %ld and %lx specifiers.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
arrange for all of the fields to start at a short offset from the
beginning of the structure.
Eliminate unnecessary masking of VM_RADIX_FLAGS from the root pointer in
vm_radix_getroot().
Sponsored by: EMC / Isilon Storage Division
|
| |
|
|
|
|
| |
Reviewed by: rpaulo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't insert BKGRDMARKER bufs into the splay or dirty/clean buf lists.
No consumers need to find them there and it complicates the tree.
These flags are all FFS specific and could be moved out of the buf
cache.
- Use pbgetvp() and pbrelvp() to associate the background and journal
bufs with the vp. Not only is this much cheaper it makes more sense
for these transient bufs.
- Fix the assertions in pbget* and pbrel*. It's not safe to check list
pointers which were never initialized. Use the BX flags instead. We
also check B_PAGING in reassignbuf() so this should cover all cases.
Discussed with: kib, mckusick, attilio
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
| |
here.
|
|
|
|
| |
that support for new lines of ATA controllers will be added to ata(4).
|
|
|
|
|
|
|
|
|
| |
option left but actually consumed by ada(4), so move it to opt_ada.h
and get rid of opt_ata.h.
- Fix stand-alone build of atacore(4) by adding opt_cam.h.
- Use __FBSDID.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.
|
|
|
|
| |
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
Do not list read-only pools in zpool.cache
Reduce diff against vendor in unused vdev_disk.c
Illumos ZFS issues:
3639 zpool.cache should skip over readonly pools
3640 want automatic devid updates
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
Allow zdb to output a histogram of compressed block sizes.
Illumos ZFS issues:
3641 want a histogram of compressed block sizes
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
| |
Merge vendor change - modify time processing in deadman thread.
Illumos ZFS issues:
3618 ::zio dcmd does not show timestamp data
MFC after: 3 weeks
|
|
|
|
| |
covered by multilevel freeze mechanism, but it is better to be safe.
|
|
|
|
|
| |
PR: usb/177666
Submitted by: Nicolai Petri <nicolai@petri.dk>
|
|
|
|
|
|
|
|
|
|
| |
- Move ata_timeout() to ata-all.c so we don't need to expose both this
function and ata_cam_end_transaction() but only the former.
- Move ata_cmd2str() from ata-queue.c to ata-all.c so we can get rid of
the former.
- Add some missing prototypes.
MFC after: 3 days
|
| |
|
| |
|
|
|
|
|
| |
PR: 176256
Submitted by: jhs
|
|
|
|
|
|
|
| |
optional property with PATA transport.
Reviewed by: mav
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
Problem reported to vendor.
Illumos ZFS issues:
3692 Panic on zfs receive of a recursive deduplicated stream
MFC after: 2 weeks
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Merge change from vendor to reduce diff only.
ZFS dtrace probes are not supported on FreeBSD yet.
Illumos ZFS issues:
3598 want to dtrace when errors are generated in zfs
MFC after: 3 weeks
|
| |
| |
| |
| |
| | |
to regular files, which already worked fine). With this change, it's no
longer neccessary to use "ctladm realsync off" workaround.
|
| |
| |
| |
| |
| |
| | |
is required for CTL to work with device-backed LUNs.
Reviewed by: mav
|
| |
| |
| |
| | |
functions are declared.
|
| |
| |
| |
| |
| |
| |
| | |
Import vendor change to reduce diff, no effect on FreeBSD.
Illumos ZFS issues:
3517 importing pool with autoreplace=on and "hole" vdevs crashes syseventd
|
| |
| |
| |
| |
| |
| | |
Reviewed by: attilio
Tested by: pho
Sponsored by: EMC / Isilon Storage Division
|
| |
| |
| |
| | |
Suggested by: Ian Lepore
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This is required for ar3k series bluetooth devices who need firmware
but have a different vendor ID than normal.
Reviewed by: maksim
|
| |
| |
| |
| |
| |
| |
| |
| | |
need firmware before they will re-attach as correctly functioning bluetooth
devices.
Reviewed by: maksim
Obtained from: Linux ath3k device driver
|
| | |
|
| |
| |
| |
| | |
in the kernel and the hardware includes a vfp unit.
|
| |
| |
| |
| | |
Obtained from: NetApp
|
| |
| |
| |
| | |
Obtained from: NetApp
|
| |
| |
| |
| |
| |
| | |
config header. FreeBSD doesn't check this but other o/s's do.
Obtained from: NetApp
|
| |
| |
| |
| | |
Approved by: cognet
|
| |
| |
| |
| | |
Approved by: eadler (mentor)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the issues reported regarding camcontrol devlist not showing the rebuild
states of volumes unless an explicit camcontrol rescan was executed.
PR: kern/171650
Reviewed by: scottl@freebsd.org
Obtained from: Yahoo! Inc.
MFC after: 2 weeks
|
| |
| |
| |
| | |
Reviewed by: kib
|
| |
| |
| |
| |
| |
| | |
messages (SO_BINTIME, SO_TIMEVAL).
Obtained from: phk
|