%222948 52 573 573 1606 499 141 199 409 220 154 272 1757 270 176 218 218 167 199 457 457 131 190 207 177 237 139 242 150 2400 465 116 538 672 587 1018 225 208 226 328 275 130 181 141 350 236 330 272 143 131 171 183 138 280 K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-10T19:16:26.669360Z K 7 svn:log V 480 MFC 222532: - Document the -H option and 'H' key alongside other options and keys rather than at the bottom of the manpage. - Remove an obsolete comment about SWAIT being a stale state. It was resurrected for a different purpose in FreeBSD 5 to mark idle ithreads. - Add a comment documenting that the SLEEP and LOCK states typically display the name of the event being waited on with lock names being prefixed with an asterisk and sleep event names not having a prefix. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-06-10T19:16:50.076646Z K 7 svn:log V 480 MFC 222532: - Document the -H option and 'H' key alongside other options and keys rather than at the bottom of the manpage. - Remove an obsolete comment about SWAIT being a stale state. It was resurrected for a different purpose in FreeBSD 5 to mark idle ithreads. - Add a comment documenting that the SLEEP and LOCK states typically display the name of the event being waited on with lock names being prefixed with an asterisk and sleep event names not having a prefix. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-10T20:10:30.830985Z K 7 svn:log V 1510 Remove C constructs that are incompatible with C++ from various OpenSolaris and ZFS header files. These changes are sufficient to allow a C++ program to use the libzfs library. Note: The majority of these files already included 'extern "C"' declarations, so the intention of providing C++ compatibility already existed even if it wasn't provided. cddl/compat/opensolaris/include/assert.h: Wrap our compatibility assert implementation in 'extern "C"'. Since this is a compatibility header I matched the Solaris style of doing this explicitly rather than rely on FreeBSD's __BEGIN/END_DECLS macro. sys/cddl/compat/opensolaris/sys/kstat.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_pool.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ddt.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h: Rename parameters in function declarations that conflict with C++ keywords. This was the solution preferred by members of the Illumos community. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_ioctl.h: In C, nested structures are visible in the global namespace, but in C++, they take on the namespace of the structure in which they are contained. Flatten nested structure definitions within struct zfs_cmd so these structures are visible in the global namespace when compiled in both languages. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-06-10T20:23:56.853804Z K 7 svn:log V 402 - Fix races on detach handling of AAC_IFFLAGS_* mask - Fix races on setting AAC_AIFFLAGS_ALLOCFIBS - Remove some unused AAC_IFFLAGS_* bits. Please note that the kthread still makes a difference between the total mask and AAC_AIFFLAGS_ALLOCFIBS because more flags may be added in the future to aifflags. Sponsored by: Sandvine Incorporated Reported and reviewed by: emaste MFC after: 2 weeks END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-10T20:51:41.045345Z K 7 svn:log V 47 Include sys/xen in cscope tag file generation. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-06-10T22:15:36.769468Z K 7 svn:log V 105 - When printing bufs with show buf the lblkno is often more useful than the blkno. Print them both. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-06-10T22:18:25.740236Z K 7 svn:log V 315 - If the fsync in ufs_direnter fails SUJ can later panic because we have partially added a name. Allow ufs_direnter() to continue in the hopes that it is a transient error. If it is not, the directory is corrupted already from IO errors and writing this new block is not likely to make things worse. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-06-10T22:19:44.360548Z K 7 svn:log V 126 - Add support for referencing quota structures without needing the inode pointer for softupdates. Submitted by: mckusick END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-06-10T22:38:31.719716Z K 7 svn:log V 61 - Eliminate an incorrect include path from the mthca build. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-06-10T22:42:00.640308Z K 7 svn:log V 176 sh: Do parameter expansion on ENV before using it. This is required by POSIX, and allows things like ENV=\$HOME/.shrc. Note that tilde expansion is explicitly not performed. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-06-10T22:48:35.420149Z K 7 svn:log V 1662 Implement fully asynchronous partial truncation with softupdates journaling to resolve errors which can cause corruption on recovery with the old synchronous mechanism. - Append partial truncation freework structures to indirdeps while truncation is proceeding. These prevent new block pointers from becoming valid until truncation completes and serialize truncations. - On completion of a partial truncate journal work waits for zeroed pointers to hit indirects. - softdep_journal_freeblocks() handles last frag allocation and last block zeroing. - vtruncbuf/ffs_page_remove moved into softdep_*_freeblocks() so it is only implemented in one place. - Block allocation failure handling moved up one level so it does not proceed with buf locks held. This permits us to do more extensive reclaims when filesystem space is exhausted. - softdep_sync_metadata() is broken into two parts, the first executes once at the start of ffs_syncvnode() and flushes truncations and inode dependencies. The second is called on each locked buf. This eliminates excessive looping and rollbacks. - Improve the mechanism in process_worklist_item() that handles acquiring vnode locks for handle_workitem_remove() so that it works more generally and does not loop excessively over the same worklist items on each call. - Don't corrupt directories by zeroing the tail in fsck. This is only done for regular files. - Push a fsync complete record for files that need it so the checker knows a truncation in the journal is no longer valid. Discussed with: mckusick, kib (ffs_pages_remove and ffs_truncate parts) Tested by: pho END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-10T23:05:51.056638Z K 7 svn:log V 174 Add the AsmPrinter and InstPrinter classes. Unfortunately, this doesn't change the falure more (though it may have changed when or where it happens). Suggested by: rdivacky END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-10T23:27:36.396824Z K 7 svn:log V 81 Actually add the IA64 Assembly Printer. Now we're calling into the backend. Yay! END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-10T23:42:03.467414Z K 7 svn:log V 125 MFC 198714 [1]: - The majors file was removed long ago, 0 should be used instead. PR: 139230 Original commit by: brueffer END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-10T23:42:49.444076Z K 7 svn:log V 125 MFC 198714 [1]: - The majors file was removed long ago, 0 should be used instead. PR: 139230 Original commit by: brueffer END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-10T23:52:53.789234Z K 7 svn:log V 75 MFC 191635 [1]: - xref ndp(8) PR: 134053 Original commit by: danger [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-11T00:06:14.486509Z K 7 svn:log V 106 MFC 186489 [1]: Document that kldunloadf can return EINVAL. PR: 125639 Original commit by: trhodes [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-11T00:30:56.384103Z K 7 svn:log V 364 MFC 222758, 222759, 222770: - Document that when running 'su -m -c ', is run within a shell as . - Bump date - Attempt to clear up some confusion in the following example, by stating the '-c' argument is passed to the shell, not to su(1), which would indicate the login class. 'su -m -c ' PR: 157078 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-11T00:31:37.569933Z K 7 svn:log V 364 MFC 222758, 222759, 222770: - Document that when running 'su -m -c ', is run within a shell as . - Bump date - Attempt to clear up some confusion in the following example, by stating the '-c' argument is passed to the shell, not to su(1), which would indicate the login class. 'su -m -c ' PR: 157078 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-06-11T01:19:19.374671Z K 7 svn:log V 35 Add comments about the validation. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-11T01:21:54.450496Z K 7 svn:log V 98 MFC 186440 [1]: Add "crit" to the list of keywords. PR: 126934 Original commit by: trhodes [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-11T01:44:49.182852Z K 7 svn:log V 114 MFC 181265 [1]: Document EAGAIN in ERRORS according to kern_jail.c. PR: 125253 Original commit by: trhodes [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-06-11T01:58:31.837221Z K 7 svn:log V 85 MFC 176470 [1]: Document TCLASS in ip6(4). PR: 120945 Original commit by: bms [1] END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-11T02:22:11.776731Z K 7 svn:log V 141 Add the model number for the Montvale processor (marketed as Itanium 2 9100). At this time we're missing just one: Tukwila (Itanium 2 9300). END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-11T03:25:10.845128Z K 7 svn:log V 47 Support SIGHUP for reloading /etc/rtadvd.conf. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-06-11T04:50:54.264474Z K 7 svn:log V 150 - driver ioctl to get SGE context for any given queue. - sysctls to display the context id, cidx, and pidx of all kinds of queues. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2011-06-11T04:55:15.565282Z K 7 svn:log V 59 Add "context" subcommand to fetch and display SGE context. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-06-11T04:59:01.284256Z K 7 svn:log V 2304 Monitor and emit events for XenStore changes to XenBus trees of the devices we manage. These changes can be due to writes we make ourselves or due to changes made by the control domain. The goal of these changes is to insure that all state transitions can be detected regardless of their source and to allow common device policies (e.g. "onlined" backend devices) to be centralized in the XenBus bus code. sys/xen/xenbus/xenbusvar.h: sys/xen/xenbus/xenbus.c: sys/xen/xenbus/xenbus_if.m: Add a new method for XenBus drivers "localend_changed". This method is invoked whenever a write is detected to a device's XenBus tree. The default implementation of this method is a no-op. sys/xen/xenbus/xenbus_if.m: sys/dev/xen/netfront/netfront.c: sys/dev/xen/blkfront/blkfront.c: sys/dev/xen/blkback/blkback.c: Change the signature of the "otherend_changed" method. This notification cannot fail, so it should return void. sys/xen/xenbus/xenbusb_back.c: Add "online" device handling to the XenBus Back Bus support code. An online backend device remains active after a front-end detaches as a reconnect is expected to occur in the near future. sys/xen/interface/io/xenbus.h: Add comment block further explaining the meaning and driver responsibilities associated with the XenBus Closed state. sys/xen/xenbus/xenbusb.c: sys/xen/xenbus/xenbusb.h: sys/xen/xenbus/xenbusb_back.c: sys/xen/xenbus/xenbusb_front.c: sys/xen/xenbus/xenbusb_if.m: o Register a XenStore watch against the local XenBus tree for all devices. o Cache the string length of the path to our local tree. o Allow the xenbus front and back drivers to hook/filter both local and otherend watch processing. o Update the device ivar version of "state" when we detect a XenStore update of that node. sys/dev/xen/control/control.c: sys/xen/xenbus/xenbus.c: sys/xen/xenbus/xenbusb.c: sys/xen/xenbus/xenbusb.h: sys/xen/xenbus/xenbusvar.h: sys/xen/xenstore/xenstorevar.h: Allow clients of the XenStore watch mechanism to attach a single uintptr_t worth of client data to the watch. This removes the need to carefully place client watch data within enclosing objects so that a cast or offsetof calculation can be used to convert from watch to enclosing object. Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-11T06:05:00.413058Z K 7 svn:log V 369 o Implement sys::getHostCPUName() when ia64 is the host. o Have the Subtarget constructor call sys::getHostCPUName() when running natively to determine the default CPU. o Default to mckinley for cross-compilation. o Define long branch as a feature and list it under mckinley. This should be enough to play with subtargets, features, etc in a minimal form. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-11T06:56:26.969495Z K 7 svn:log V 24 Merge from HEAD@222975. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-11T07:42:18.295103Z K 7 svn:log V 442 Flesh out some more software TX queue operators. There's still a few more operators (queue software packet to hardware, requeue packet (from hardware) back onto the software queue, free software queue packets that aren't on the hardware, and mark queued packets as having no parent queue) to implement. It's unclear yet whether packets which are queued but whose parent node is going away should cause the TXCB callback to occur if needed. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-11T08:03:44.265584Z K 7 svn:log V 576 Some further digging shows that net80211 already takes care of refcounting the TX node references for me, so in theory (!) I shouldn't seen a node free until all pending TX packets have completed. For now, leave the functions in there which I was going to write to do this (primarily so I can have some checks before I do free the state!) Whilst I'm here, add a TID reference. Between this and the bf_node reference, enough information should (eventually) be available now for a completed packet (success, failure, filtered) to be matched back to its source node/TID queue. END K 10 svn:author V 4 joel K 8 svn:date V 27 2011-06-11T09:08:46.670999Z K 7 svn:log V 493 Enable sound support by default on i386 and amd64. The generic sound driver has been added, along with enough device-specific drivers to support the most common audio chipsets. We've discussed enabling it from time to time over the years and we've received numerous requests from users, so we decided that shipping 9.0 with working audio by default would be the best thing to do. Bug reports should be sent to the multimedia@ mailing list, as usual. Approved by: mav No objection: re END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-11T10:35:53.938763Z K 7 svn:log V 922 Flesh out some more software TX queue code ath_buf's now have both a destination tid and a destination txq. (I may end up also storing a destination AC, just to be complete.) The destination TXQ is pre-calculated at TID TXQ add time as that won't change. It's then added to the pre-determined hardware TXQ when the packet is ready to be scheduled. The routine to calculate the ath_node txq length is dirty. I shall fix soon. Packets should now be schedulable via a call to ath_tx_swq() and sit in the per-node queue until ath_txq_sched() is called. Packets then will be removed from the software queue and added to the relevant hardware queue. Next is writing a completion handler which looks a lot like what ath_tx_processq() does, but knows about the ath_node/tid involved. Eventually this is where the software aggregation retries will live. The TX packet scheduler isn't fair. It isn't pretending to be for now. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-11T12:34:08.697766Z K 7 svn:log V 124 Follow up r222980 on PowerPC: add sound(4) and common device drivers to PowerPC GENERIC (along with a small rearrangement). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-11T12:40:14.906880Z K 7 svn:log V 112 * add a per-node queue depth counter * correctly lock access to sc->sc_txnodeq * fix an incorrect txq reference END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-11T12:41:03.324073Z K 7 svn:log V 130 Since there's currently no TX processing/completion task (ie, TX is direct-dispatch), just do swq->hwq dispatch from ath_start(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-11T12:47:04.588490Z K 7 svn:log V 232 Make the qdepth add/sub atomic, but the qdepth check isn't yet atomic. I'll leave it like that for now until I better understand what, if any, locking is done with ath_node / ieee80211_node. Flip on the software TX queue dispatch. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-11T13:15:20.318643Z K 7 svn:log V 179 Clarify the dirty locking that I'm currently doing at the moment. This isn't crashing (primarily because the ath_node is mostly behind the ATH lock rather than a per-node lock.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-06-11T13:19:58.982043Z K 7 svn:log V 35 Default module values for testing. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-11T16:44:30.831256Z K 7 svn:log V 86 Might as well add the other CPUs. It prevents warnings when compiling clang natively. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-11T17:23:51.387184Z K 7 svn:log V 46 Implement IA64RegisterInfo::getReservedRegs() END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-11T18:39:55.559224Z K 7 svn:log V 254 Implement IA64RegisterInfo::getCalleeSavedRegs(). There's a lot of repetition in the .td file now. Since tblgen is supposed to help with that, I think I should look into tblgen features to see if there's better way of defining and listing the registers. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-06-11T20:13:28.546240Z K 7 svn:log V 143 Fix a bug in r222586. Lock the page owner object around the modification of the m->dirty. Reported and tested by: nwhitehorn Reviewed by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-06-11T20:15:19.948767Z K 7 svn:log V 237 Assert that page is VPO_BUSY or page owner object is locked in vm_page_undirty(). The assert is not precise due to VPO_BUSY owner to tracked, so assertion does not catch the case when VPO_BUSY is owned by other thread. Reviewed by: alc END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-06-11T21:14:22.009054Z K 7 svn:log V 174 Make three one line changes to the rc scripts so that they work with the new NFS client being the default, since the new NFS client's module name is nfscl and not nfsclient. END K 10 svn:author V 5 crees K 8 svn:date V 27 2011-06-11T21:26:12.356861Z K 7 svn:log V 49 Add self to calendar Approved by: rene (mentor) END K 10 svn:author V 5 crees K 8 svn:date V 27 2011-06-11T21:27:14.259834Z K 7 svn:log V 37 Add self Approved by: rene (mentor) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-11T21:40:37.266779Z K 7 svn:log V 79 Add a helper function to check kern.features.* sysctls. Discussed with: dougb END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-11T21:41:44.480117Z K 7 svn:log V 91 - Remove $ipv6_gateway_enable check. - Use list_net_interfaces() instead of "ifconfig -l". END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-06-11T21:44:07.181517Z K 7 svn:log V 38 Long-overdue man page for bsdinstall. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-06-11T22:18:07.307434Z K 7 svn:log V 184 Create the IA64MachineFunctionInfo class. We don't have any target- specific information for each MachineFunction yet, but it's good to have it around. I'm sure I need it soon enough. END