summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use pget(9) to reduce code duplication.trociny2013-04-071-10/+4
| | | | MFC after: 1 week
* Fill p_flags and p_align fields of the core dump note segement.trociny2013-04-071-2/+2
| | | | | Reviewed by: kib MFC after: 2 weeks
* Use 4-byte padding for core dump notes on both 32 and 64bit archs.trociny2013-04-071-2/+2
| | | | | | | | | | | | | | | 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
* sh: Add const to nodesavestr().jilles2013-04-071-3/+3
|
* Add some missing newlines and static declarations.marius2013-04-071-8/+14
| | | | MFC after: 3 days
* mqueue,ksem,shm: Fix race condition with setting UF_EXCLOSE.jilles2013-04-073-15/+3
| | | | | | | | | | | | | 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
* Fix regression issue after r248910.hselasky2013-04-073-4/+4
| | | | | PR: arm/177685 Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Remove extra semicolons from CAM_SIM_[UN]LOCK() macros.mav2013-04-071-2/+2
|
* The CELL fields can be various integer types depending on the platformkientzle2013-04-071-6/+10
| | | | | | (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.
* Fix two broken macros.kientzle2013-04-071-2/+2
|
* Micro-optimize the order of struct vm_radix_node's fields. Specifically,alc2013-04-071-2/+2
| | | | | | | | | | 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
* sh: Add a variation on builtins/eval4.0 where the cmdsubst returns 0.jilles2013-04-061-0/+5
|
* Add warning about SOCK_CLOEXEC and SOCK_NONBLOCK (r248534).jilles2013-04-061-0/+6
| | | | Reviewed by: rpaulo
* Prepare to replace the buf splay with a trie:jeff2013-04-065-68/+31
| | | | | | | | | | | | | | | | - 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
* mdoc: new sentence should be on a new line. Also remove EOL whitespace whilejoel2013-04-061-3/+4
| | | | here.
* Remove atadevel(4), it no longer builds with ATA_CAM and it's unlikelymarius2013-04-062-135/+0
| | | | that support for new lines of ATA controllers will be added to ata(4).
* - With the demise of !ATA_CAM, ATA_STATIC_ID is the only ata(4) relatedmarius2013-04-0670-128/+63
| | | | | | | | | 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.
* Simplify vm_radix_keybarr().alc2013-04-061-3/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* Regenerate usb.confhselasky2013-04-061-10/+124
| | | | MFC after: 1 week
* MFV r249186:mm2013-04-062-3/+35
| | | | | | | | | | | 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
* MFV r249185:mm2013-04-061-24/+65
| | | | | | | | | 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
* MFV r248660:mm2013-04-064-12/+13
| | | | | | | | | Merge vendor change - modify time processing in deadman thread. Illumos ZFS issues: 3618 ::zio dcmd does not show timestamp data MFC after: 3 weeks
* Replicate r245306 from SCSI to ATA. The problem didn't appear so far,mav2013-04-061-0/+3
| | | | covered by multilevel freeze mechanism, but it is better to be safe.
* Add new USB ID.hselasky2013-04-062-0/+2
| | | | | PR: usb/177666 Submitted by: Nicolai Petri <nicolai@petri.dk>
* - Make ata_str2mode() static, it's not used outside of ata-all.c.marius2013-04-066-197/+154
| | | | | | | | | | - 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
* Remove some more remnants of !ATA_CAM.marius2013-04-061-11/+0
|
* Document legacy ATA stack removal.mav2013-04-061-0/+7
|
* Correct the path.jh2013-04-061-2/+2
| | | | | PR: 176256 Submitted by: jhs
* Unbreak ATA_NO_48BIT_DMA with ATA_CAM by treating 48-bit DMA as anmarius2013-04-065-36/+96
| | | | | | | optional property with PATA transport. Reviewed by: mav MFC after: 3 days
* Provide a fix for kernel panic if receiving recursive deduplicated streams.mm2013-04-061-4/+5
| | | | | | | | | Problem reported to vendor. Illumos ZFS issues: 3692 Panic on zfs receive of a recursive deduplicated stream MFC after: 2 weeks
* MFV r248217:mm2013-04-0658-857/+1076
|\ | | | | | | | | | | | | | | | | | | 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
* | Make SYNCHRONIZE CACHE work with LUNs backed by device files (as opposedtrasz2013-04-061-0/+1
| | | | | | | | | | to regular files, which already worked fine). With this change, it's no longer neccessary to use "ctladm realsync off" workaround.
* | Make it possible to submit FLUSH bios through geom_dev strategy. Thistrasz2013-04-061-1/+2
| | | | | | | | | | | | is required for CTL to work with device-backed LUNs. Reviewed by: mav
* | Move CRITICAL_ASSERT() macro to systm.h, where the critical(9)glebius2013-04-062-3/+6
| | | | | | | | functions are declared.
* | MFV r242816:mm2013-04-061-1/+3
| | | | | | | | | | | | | | Import vendor change to reduce diff, no effect on FreeBSD. Illumos ZFS issues: 3517 importing pool with autoreplace=on and "hole" vdevs crashes syseventd
* | Simplify vm_radix_insert().alc2013-04-061-29/+8
| | | | | | | | | | | | Reviewed by: attilio Tested by: pho Sponsored by: EMC / Isilon Storage Division
* | Properly clean "spurious interrupt" stategonzo2013-04-061-0/+1
| | | | | | | | Suggested by: Ian Lepore
* | Hide non-assembler bits behind #ifndef __ASSEMBLER__andrew2013-04-061-0/+3
| |
* | Extend ath3kfw to include overridable device / vendor IDs.adrian2013-04-051-4/+14
| | | | | | | | | | | | | | This is required for ar3k series bluetooth devices who need firmware but have a different vendor ID than normal. Reviewed by: maksim
* | Add blacklist entries for Atheros bluetooth device IDs that are known toadrian2013-04-051-0/+33
| | | | | | | | | | | | | | | | need firmware before they will re-attach as correctly functioning bluetooth devices. Reviewed by: maksim Obtained from: Linux ath3k device driver
* | Fix declaration vs. definition inconsistency. No functional change.jkim2013-04-051-3/+3
| |
* | Add the hw.floatingpoint sysctl to ARM to tell us if we have vfp supportandrew2013-04-052-1/+5
| | | | | | | | in the kernel and the hardware includes a vfp unit.
* | Remove dangling ISA uart stubs.grehan2013-04-052-61/+1
| | | | | | | | Obtained from: NetApp
* | Don't panic when a valid divisor of 1 has been requested.grehan2013-04-051-0/+2
| | | | | | | | Obtained from: NetApp
* | config checksum is over the entire fixed portion, not just thegrehan2013-04-051-1/+1
| | | | | | | | | | | | config header. FreeBSD doesn't check this but other o/s's do. Obtained from: NetApp
* | Fix a typo in the burncd line.rene2013-04-051-1/+1
| | | | | | | | Approved by: cognet
* | Add myself as a ports committerantoine2013-04-051-0/+3
| | | | | | | | Approved by: eadler (mentor)
* | Notify CAM on state* change to a logical volume not status. This resolvessbruno2013-04-051-3/+5
| | | | | | | | | | | | | | | | | | | | 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
* | Fix memory leak in coredump().glebius2013-04-051-0/+1
| | | | | | | | Reviewed by: kib
* | Correct the returned message lengths for timeval and bintime controlgnn2013-04-051-3/+3
| | | | | | | | | | | | messages (SO_BINTIME, SO_TIMEVAL). Obtained from: phk
OpenPOWER on IntegriCloud