summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Mark udf(4) MPSAFE and add support for shared vnode locks during pathnamejhb2009-02-092-24/+55
| | | | | | | | | | | | | | lookups: - Honor the caller's locking flags in udf_root() and udf_vget(). - Set VV_ROOT for the root vnode in udf_vget() instead of only doing it in udf_root(). - Honor the requested locking flags during pathname lookups in udf_lookup(). - Release the buffer holding the directory data before looking up the vnode for a given file to avoid a LOR between the "udf" vnode locks and "bufwait". - Use vn_vget_ino() to handle ".." lookups. - Special case "." lookups instead of calling udf_vget(). We have to do extra checking for the vnode lock for "." lookups.
* Use the same style as the rest of the file for the optional data stringjhb2009-02-091-1/+1
| | | | after each path component rather than a GCC-ism.
* - Fix an issue where file attributes were not installed correctly during a Touchlulf2009-02-091-1/+3
| | | | | and SetAttrs operation. - SetAttrs and Touch were incorrectly switched.
* Remove extra 'comma = 0' in socket state printing code, which otherwiserwatson2009-02-091-1/+0
| | | | | | could lead to an extra comma in output. Submitted by: Christoph Mallon <christoph dot mallon at gmx dot de>
* The bounce zone sees its page number increased if multiple dma maps use it incognet2009-02-093-3/+18
| | | | | | | | | the same dma tag. However, it can happen multiple dma tags share the same bounce zone too, so add a per-bounce zone map counter, and check it instead of the dma tag map counter, to know if we have to alloc more pages. Reported by: miwi Reviewed by: scottl
* Add padding to then end of the xsctp_xxx structures torrs2009-02-091-0/+4
| | | | allow future changes to be able to maintain ABI compatibility
* tulip_busdma_cleanup: pass correct vaddr (2nd arg) to bus_dmamem_free()fjoe2009-02-091-1/+1
| | | | | Found with: Coverity Prevent(tm) CID: 1998
* cam_periph_alloc: fix "invalid periph name" error conditionfjoe2009-02-091-1/+1
| | | | | Found with: Coverity Prevent(tm) CID: 130
* Do not self-initialize a variable.fjoe2009-02-092-2/+2
| | | | | Found with: Coverity Prevent(tm) CID: 3864, 3865
* Remove unused variable.fjoe2009-02-091-2/+1
| | | | | Found with: Coverity Prevent(tm) CID: 3693
* Destroy TX tag outside of loop scope.fjoe2009-02-091-1/+1
| | | | | Found with: Coverity Prevent(tm) CID: 3886
* Properly implement GIO_ATTR and CONS_GETINFO.ed2009-02-093-11/+32
| | | | | It seems I didn't implement these two ioctl()'s properly, which meant vidcontrol couldn't properly obtain certain terminal parameters.
* s/SS_FDREF/SS_NOFDREF/mbr2009-02-091-1/+1
|
* Fix minor spacing problem found by s9indent from lastrrs2009-02-091-2/+4
| | | | commit.
* Fix INET only build breakage with SCTP - pointy hat to me :-)rrs2009-02-091-0/+2
|
* Comment out the assertion from r188321. It is not valid for nfs.kib2009-02-091-1/+1
| | | | Reported by: alc
* Remove a stale comment from the clists code.ed2009-02-091-4/+0
| | | | We don't support quote bits.
* Avoid some cases of unnecessary page queues locking by vm_fault's delete-alc2009-02-091-5/+11
| | | | behind heuristic.
* Document loader tunable hw.re.msi_disable.yongari2009-02-091-1/+11
| | | | Bump .Dd
* Reclaim transmitted frames in re_tick(). This is for PCIeyongari2009-02-091-1/+8
| | | | | | controllers that lose Tx completion interrupts under certain conditions. With this change it's safe to use MSI on PCIe controllers so enable MSI on these controllers.
* mark M_LASTFRAG at the last fragment.weongyo2009-02-091-0/+3
| | | | | Reviewed by: sam MFC after: 3 weeks
* Add the EBR scheme. The EBR scheme supports the Extended Boot Recordsmarcel2009-02-084-0/+358
| | | | | | | | found inside extended partitions and used to create logical partitions. At this time write/modify support is not (yet) present. The EBR and MBR schemes both check the parent scheme. The MBR will back-off when nested under another MBR, whereas the EBR only nests under a MBR.
* - Fix in_cksum for big-endian MIPS: use correct compile-time check.gonzo2009-02-081-1/+1
|
* Allow gpe_offset to be set by the scheme. When gpe_offset is zero,marcel2009-02-081-2/+7
| | | | | or invalid, initialize it to the start of the partition. Adjust the mediasize when the offset lies somewhere inside the partition.
* When bouncing pages, allow a new option to preserve the intra-pageimp2009-02-086-1/+36
| | | | | | | | | | | | | | | | offset. This is needed for the ehci hardware buffer rings that assume this behavior. This is an interim solution, and a more general one is being worked on. This solution doesn't break anything that doesn't ask for it directly. The mbuf and uio variants with this flag likely don't work and haven't been tested. Universe builds with these changes. I don't have a huge-memory machine to test these changes with, but will be happy to work with folks that do and hps if this changes turns out not to be sufficient. Submitted by: alfred@ from Hans Peter Selasky's original
* Eliminate OBJ_NEEDGIANT. After r188331, OBJ_NEEDGIANT's only use is by aalc2009-02-084-10/+1
| | | | | | redundant assertion in vm_fault(). Reviewed by: kib
* Remove an overzealous check.trasz2009-02-081-1/+1
| | | | | | | Submitted by: das Reviewed by: scottl Approved by: rwatson (mentor, implicit) Sponsored by: FreeBSD Foundation
* Fix multiple -s options.kientzle2009-02-081-1/+1
| | | | MFC after: 7 days
* When copying file data to the archive, don't write morekientzle2009-02-081-1/+1
| | | | | | | | | than was read. This seems to have only affected the shar writer, since other formats proactively truncate output to the originally-advertised size. PR: bin/131244 MFC after: 7 days
* Don't try to directly update page tableskmacy2009-02-081-2/+5
|
* Remove no longer valid comment.kib2009-02-081-3/+0
| | | | Submitted by: alc
* The NRL value in the queue head must be zero for interrupt transfers. This wasthompsa2009-02-081-1/+3
| | | | | | diagnosed using a USB analyser obtained through a FreeBSD Foundation grant. Thanks to: FreeBSD Foundation
* Improve comments, correct English.kib2009-02-081-8/+8
| | | | Submitted by: alc
* Do not call vm_object_deallocate() from vm_map_delete(), because wekib2009-02-085-14/+52
| | | | | | | | | | hold the map lock there, and might need the vnode lock for OBJT_VNODE objects. Postpone object deallocation until caller of vm_map_delete() drops the map lock. Link the map entries to be freed into the freelist, that is released by the new helper function vm_map_entry_free_freelist(). Reviewed by: tegge, alc Tested by: pho
* In vm_map_sync(), do not call vm_object_sync() while holding map lock.kib2009-02-081-2/+10
| | | | | | | | Reference object, drop the map lock, and then call vm_object_sync(). The object sync might require vnode lock for OBJT_VNODE type objects. Reviewed by: tegge Tested by: pho
* fix typosam2009-02-081-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Do not sleep for vnode lock while holding map lock in vm_fault. Try tokib2009-02-083-97/+80
| | | | | | | | | | | | | | | acquire vnode lock for OBJT_VNODE object after map lock is dropped. Because we have the busy page(s) in the object, sleeping there would result in deadlock with vnode resize. Try to get lock without sleeping, and, if the attempt failed, drop the state, lock the vnode, and restart the fault handler from the start with already locked vnode. Because the vnode_pager_lock() function is inlined in vm_fault(), axe it. Based on suggestion by: alc Reviewed by: tegge, alc Tested by: pho
* Prefer the start and end attributes over the offset and sizemarcel2009-02-081-14/+31
| | | | | | attributes. The start and end more accurately describe the space taken by a partition. The offset and size are used to describe the effective (usable) storage of that partition.
* o Add the "PART::scheme" attribute that returns the name of themarcel2009-02-081-0/+7
| | | | | | | | | | | | | | | underlying partitioning scheme. o Put the start and end of the partition in the XML configuration. The start and end are the LBAs of the first and last sector (resp.) of the partition. They are currently identical to the offset and size attributes, which describe the partition as an offset and size in bytes, but may not in the future. The start and end will be used for the logical partition boundaries and may include metadata. The offset and size will always represent the useful storage space within the partition. Typically these two notions are the same, but for logical partitions in an extended partition, the EBR is more naturally treated as being part of the partition.
* o use humanize_number to print totalssam2009-02-083-43/+53
| | | | o shrink some fields now that we don't have to worry about overflow
* Add the comments to vm_map_simplify_entry() and vmspace_fork(),kib2009-02-081-0/+20
| | | | | | | describing why several calls to vm_deallocate_object() with locked map do not result in the acquisition of the vnode lock after map lock. Suggested and reviewed by: tegge
* Lock the new map in vmspace_fork(). The newly allocated map should notkib2009-02-081-0/+5
| | | | | | | | | | | be accessible outside vmspace_fork() yet, but locking it would satisfy the protocol of the vm_map_entry_link() and other functions called from vmspace_fork(). Use trylock that is supposedly cannot fail, to silence WITNESS warning of the nested acquisition of the sx lock with the same name. Suggested and reviewed by: tegge
* Assert that vnode is exclusively locked when its vm object is resized.kib2009-02-081-0/+1
| | | | Reviewed by: tegge
* Do not leak the MAP_ENTRY_IN_TRANSITION flag when copying map entrykib2009-02-081-2/+4
| | | | | | | on fork. Otherwise, copied entry cannot be removed in the child map. Reviewed by: tegge MFC after: 2 weeks
* Style.kib2009-02-081-0/+2
|
* Lookup up the directory entry for the tmpfs node that are deleted bykib2009-02-083-22/+10
| | | | | | | | | both node pointer and name component. This does the right thing for hardlinks to the same node in the same directory. Submitted by: Yoshihiro Ota <ota j email ne jp> PR: kern/131356 MFC after: 2 weeks
* Shutup warning for DNAME RR.ume2009-02-082-2/+3
| | | | | | PR: bin/127591 Submitted by: "Eugene M. Kim" <20080111.freebsd.org__at__ab.ote.we.lv> MFC after: 1 week
* Set the lower bound on queue size for an audit pipe to 1 instead of 0,rwatson2009-02-081-2/+2
| | | | | | | | as an audit pipe with a queue length of 0 is less useful. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. MFC after: 1 week
* Fix several filenames for "make clean" target.wkoszek2009-02-081-6/+6
|
* Change various routines that are responsible for transforming auditrwatson2009-02-082-8/+8
| | | | | | | | event IDs based on arguments to return au_event_t rather than int. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. MFC after: 1 week
OpenPOWER on IntegriCloud