ıg218168 187 1005 662 178 297 252 138 139 722 197 150 181 107 232 212 221 132 235 170 870 198 251 441 147 176 162 645 500 389 226 242 857 857 141 127 120 148 114 139 229 486 193 134 166 374 588 482 207 197 306 196 426 537 113 233 122 265 247 150 466 249 330 223 142 122 278 133 381 211 117 141 624 187 638 183 207 150 131 246 149 114 280 114 143 139 449 177 110 190 170 433 355 294 295 294 216 156 127 369 212 191 191 202 299 277 220 188 268 268 292 292 295 448 297 353 161 420 420 562 362 362 198 859 155 349 349 541 158 158 640 640 229 166 166 261 261 215 272 168 503 1042 122 116 288 168 174 174 219 106 1059 317 114 202 508 178 237 381 145 409 378 345 378 158 235 144 141 159 694 121 274 483 164 463 320 228 312 434 164 425 420 341 298 209 200 293 191 207 394 K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-01T13:33:49.191656Z K 7 svn:log V 912 The unp_gc() function drops and reaquires lock between scan and collect phases. The unp_discard() function executes unp_externalize_fp(), which might make the socket eligible for gc-ing, and then, later, taskqueue will close the socket. Since unp_gc() dropped the list lock to do the malloc, close might happen after the mark step but before the collection step, causing collection to not find the socket and miss one array element. I believe that the race was there before r216158, but the stated revision made the window much wider by postponing the close to taskqueue sometimes. Only process as much array elements as we find the sockets during second phase of gc [1]. Take linkage lock and recheck the eligibility of the socket for gc, as well as call fhold() under the linkage lock. Reported and tested by: jmallett Submitted by: jmallett [1] Reviewed by: rwatson, jeff (possibly) MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-01T14:28:50.771025Z K 7 svn:log V 570 For ZFS, change the type of clock_t to int64_t. The clock_t type in OpenSolaris is long (int64_t on amd64). On FreeBSD clock_t is int32_t. The clock_t type is used in several places in the ZFS code to store system uptime in milliseconds ("seconds * hz"). With hz=1000 we have a 32-bit integer overflow in 24 days, 20 hours, 31 minutes and 23.648 seconds. This has a user reported negative impact on l2arc_feed_thread() and may cause unexpected results from other functions using clock_t. Reported by: Artem Belevich on freebsd-fs@ MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-01T15:26:30.279849Z K 7 svn:log V 83 Just to be sure, make sure the MCS rates are allowed for TX. Approved by: rpaulo@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-01T15:48:27.396670Z K 7 svn:log V 204 Output an appropriate amount of padding to line up per-CPU state columns rather than using a terminal sequence to move the cursor when drawing the initial screen. Requested by: arundel MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-01T16:11:31.610354Z K 7 svn:log V 160 MFC r216922: Increase carried_error if we skip a file due to an error. This ensures that setfacl(1) exits with proper exit status on failure. PR: bin/149780 END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-01T16:15:31.527144Z K 7 svn:log V 46 MFC r217826 (by sem): Remove DOS-style EOLs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-01T17:42:57.628659Z K 7 svn:log V 47 Add simple in-kernel API for controlling leds. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-01T18:21:45.463226Z K 7 svn:log V 629 - Set the next_alloc fields for an i-node after allocating a new block so that future allocations start with most recently allocated block rather than the beginning of the filesystem. - Fix ext2_alloccg() to properly scan for 8 block chunks that are not aligned on 8-bit boundaries. Previously this was causing new blocks to be allocated in a highly fragmented fashion (block 0 of a file at lbn N, block 1 at lbn N + 8, block 2 at lbn N + 16, etc.). - Cosmetic tweaks to the currently-disabled fancy realloc sysctls. PR: kern/153584 Discussed with: bde Tested by: Pedro F. Giffuni giffunip at yahoo, Zheng Liu (lz) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-01T18:30:52.939242Z K 7 svn:log V 104 Some cosmetic fixes and remove a duplicate constant. Submitted by: Pedro F. Giffuni giffunip at yahoo END K 10 svn:author V 3 kan K 8 svn:date V 27 2011-02-01T21:15:35.238030Z K 7 svn:log V 58 Revert r218169 until it can be tested and fixed properly. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2011-02-01T22:26:06.164367Z K 7 svn:log V 85 New ID for the Novatel MC547 PR: 154127 Submitted by: Mike Tancsa MFC after: 1 day END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-01T22:50:23.429223Z K 7 svn:log V 15 Whitespace nit END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-01T23:12:13.587233Z K 7 svn:log V 140 Recommit r218169, enclosing with #ifdef _KERNEL This change is sufficient for the ZFS kernel module. Discussed with: pjd MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-02T03:24:52.178895Z K 7 svn:log V 119 Revert last change now that the reason for it is no more... MACHINE_ARCH is now always mipsel when building mips/mips. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-02T03:27:31.911018Z K 7 svn:log V 128 Make the generated files depend on the Makefile so new platforms are easier to add than mipsn32 was when I was working on it... END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-02T03:55:34.152486Z K 7 svn:log V 37 Call the correct ANI Attach routine. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-02T05:58:51.944377Z K 7 svn:log V 139 Rename INTR_VEC to MAP_IRQ. From the OFW or FDT we obtain a PIC handle with interrupt pin. This we map to the resource called SYS_RES_IRQ. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-02T08:24:26.203576Z K 7 svn:log V 78 Be prepared that hp_client or hp_server might be NULL now. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-02T11:13:23.275916Z K 7 svn:log V 777 1) Allow a chunk to track the cwnd it was at when sent. 2) Add separate max-bursts for retransmit and hb. These are set to sysctlable values but not settable via the socket api. This makes sure we don't blast out HB's or fast-retransmits. 3) Determine on the first data transmission on a net if its local-lan (by being under or over a RTT). This can later be used to think about different algorithms based on locallan vs big-i (experimental) 4) The cwnd should NOT be allowed to grow when an ECNEcho is seen (TCP has this same bug). We fix this in SCTP so an ECNe being seen prevents an advance of cwnd. 5) CWR's should not be sent multiple times to the same network, instead just updating the TSN being transmitted if needed. MFC after: 1 Month END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-02T12:22:44.206939Z K 7 svn:log V 105 MFC r217578: In linuxolator getdents_common(), do not loop if no records were returned by VOP_READDIR(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-02T12:24:53.983890Z K 7 svn:log V 158 MFC r217880: Treat async buffer writes from the gjournal switcher thread the same as from syncer. We shall not sleep on running buffer space when suspending. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-02-02T14:41:32.012272Z K 7 svn:log V 344 Remove OpenSolaris include path referring to a non-existing directory never committed from p4 dtrace branch. [The correct include path is referenced from every opensolaris compat consumer's module Makefile, so it doesn't serve any purpose anyway.] Reported by: arundel on freebsd-hackers@ via clang Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-02T14:59:05.286181Z K 7 svn:log V 55 Fix build with DIAGNOSTIC enabled. Pointy hat to: jhb END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-02T15:23:07.487142Z K 7 svn:log V 84 Move protocol allocation and deallocation to separate functions. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-02T15:42:00.024199Z K 7 svn:log V 70 Allow to specify connection timeout by the caller. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-02T15:46:28.637738Z K 7 svn:log V 552 Add proto_connect_wait() to wait for connection to finish. If timeout argument to proto_connect() is -1, then the caller needs to use this new function to wait for connection. This change is in preparation for capsicum, where sandboxed worker wants to ask main process to connect in worker's behalf and pass descriptor to the worker. Because we don't want the main process to wait for the connection, it will start async connection and pass descriptor to the worker who will be responsible for waiting for the connection to finish. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-02T15:53:09.571713Z K 7 svn:log V 407 - Rename proto_descriptor_{send,recv}() functions to proto_connection_{send,recv} and change them to return proto_conn structure. We don't operate directly on descriptors, but on proto_conns. - Add wrap method to wrap descriptor with proto_conn. - Remove methods to send and receive descriptors and implement this functionality as additional argument to send and receive methods. MFC after: 1 week END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-02-02T16:35:10.161026Z K 7 svn:log V 296 Put the general logic for being a CPU hog into a new function should_yield(). Use this in various places. Encapsulate the common case of check-and-yield into a new function maybe_yield(). Change several checks for a magic number of iterations to use should_yield() instead. MFC after: 1 week END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-02T17:01:26.095958Z K 7 svn:log V 133 libkvm: fix logic inversion introduced with last commit Reported by: Brandon Gooch Pointy hat to: uqs END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-02-02T17:31:01.264643Z K 7 svn:log V 150 MFC r217187: Replace nfs4 with newnfs in netfs_types. nfs4 was removed in r192578 and mount(8) has supported newnfs since r192930. PR: conf/153655 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-02T18:42:53.081371Z K 7 svn:log V 760 MFC r216925,217331,217349,217542: r216925: Add a 'locked' variant of the foo_start() routine and call it directly from interrupt handlers and watchdog routines instead of queueing a task to call foo_start(). r217331: Make sure to invoke unlocked foo_start since the taskqueue does not hold a driver lock. This should fix a regression introduced in r216925. r217349: Forgot to remove unlock of the driver lock from age_start_locked() when converting it to a locked variant. r217542: Fix some bugs in my last set of changes to ale(4): - Remove extra unlock from end of ale_start_locked(). - Expand scope of locking in interrupt handler. - Move ether_ifdetach() earlier and retire now-unneeded DETACH flag. Tested by: Aryeh Friedman END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-02T18:44:02.758172Z K 7 svn:log V 760 MFC r216925,217331,217349,217542: r216925: Add a 'locked' variant of the foo_start() routine and call it directly from interrupt handlers and watchdog routines instead of queueing a task to call foo_start(). r217331: Make sure to invoke unlocked foo_start since the taskqueue does not hold a driver lock. This should fix a regression introduced in r216925. r217349: Forgot to remove unlock of the driver lock from age_start_locked() when converting it to a locked variant. r217542: Fix some bugs in my last set of changes to ale(4): - Remove extra unlock from end of ale_start_locked(). - Expand scope of locking in interrupt handler. - Move ether_ifdetach() earlier and retire now-unneeded DETACH flag. Tested by: Aryeh Friedman END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-02-02T19:20:20.790766Z K 7 svn:log V 49 Sync: merge r218029 through r218199 from ^/head. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-02-02T20:00:35.536354Z K 7 svn:log V 36 Add missing argument after r218192. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-02-02T21:09:30.785227Z K 7 svn:log V 28 Add some obsolete manpages. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-02T21:48:53.891500Z K 7 svn:log V 53 sh: Remove comment mentioning herefd, which is gone. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-02T21:49:29.452492Z K 7 svn:log V 22 this comment is stale END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-02T22:03:18.299552Z K 7 svn:log V 44 sh: Add test for shell script without '#!'. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-02T23:59:24.173991Z K 7 svn:log V 136 Setting TARGET and TARGET_ARCH needs to be done in _MAKE, not in the TGTS rule as _MAKE is used elsewhere. This should fix make world. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-02-03T02:14:53.705064Z K 7 svn:log V 390 Revert part of r173264. Both aac_ioctl_sendfib and aac_ioctl_send_raw_srb make use of the aac_ioctl_event callback, if aac_alloc_command fails. This can end up in an infinite loop in the while loop in aac_release_command. Further investigation into the issue mentioned by Scott Long [1] will be necessary. [1] http://lists.freebsd.org/pipermail/freebsd-current/2007-October/078740.html END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-02-03T03:07:11.159646Z K 7 svn:log V 98 Include driver name in panic string, to make it easier to find these should the panic ever occur. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T07:20:10.501393Z K 7 svn:log V 42 Add files missed in last CAM sync commit. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-03T08:55:45.887576Z K 7 svn:log V 74 MFC r217991: Use unsigned type for the registers in the linux sigcontext. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-03T10:05:30.832081Z K 7 svn:log V 281 Adds an experimental option to create a pool of threads. These serve as input threads and are queued packets based on the V-tag number. This is similar to what a modern card can do with queue's for TCP... but alas modern cards know nothing about SCTP. MFC after: 3 months (maybe) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T10:17:51.453273Z K 7 svn:log V 495 Introduce new type of BIO_GETATTR -- GEOM::setstate, used to inform lower GEOM about state of it's providers from the point of upper layers. Make geom_disk use led(4) subsystem to illuminate states in such fashion: FAILED - "1" (on), REBUILD - "f5" (slow blink), RESYNC - "f1" (fast blink), ACTIVE - "0" (off). LED name should be set for each disk via kern.geom.disk.%s.led sysctl. Later disk API could be extended to allow disk driver to report this info in custom way via it's own facilities. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T10:29:04.027428Z K 7 svn:log V 389 Add support for reporting ACTIVE, REBUILD, RESYNC and FAILED states to underlying disks using BIO_GETATTR(GEOM::setstate) API. While doing it, change the way in which array start timeout is handled: do not call it directly from callout handler, but wrap it into a new event and queue in regular fashion. This is required to allow handler sleep while reporting states or writing metadata. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-03T10:37:44.392796Z K 7 svn:log V 114 Let the caller log info about successful privilege drop. We don't want to log this in hastctl. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-03T10:44:40.265253Z K 7 svn:log V 104 Drop privileges after connecting to hastd, but before sending or receiving anything. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-02-03T11:09:27.157863Z K 7 svn:log V 214 MFC r217924: While inspecting the disklabel check that start offset of partition is within provider's bounds. If not then reject this disklabel. Mark bbarea as NULL to do not free it again in destroy method. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-03T11:33:32.375270Z K 7 svn:log V 103 Add missing locking after moving keepalive_send() to remote send thread in r214692. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-03T11:39:49.435695Z K 7 svn:log V 333 Setup another socketpair between parent and child, so that primary sandboxed worker can ask the main privileged process to connect in worker's behalf and then we can migrate descriptor using this socketpair to worker. This is not really needed now, but will be needed once we start to use capsicum for sandboxing. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-03T11:52:22.393227Z K 7 svn:log V 444 Fix the per CPU stats so that: 1) They don't use the giant "MAX_CPU" define and instead are allocated dynamically based on mp_ncpus 2) Will zero with the netstat -z -s -p sctp 3) Will be properly handled by both the sctp_init and finish (the multi-net stuff was incorrectly bzero'ing in sctp_init the wrong size.. the bzero is now moved to the right places). And of course the free is put in at the very end. MFC after: 3 Months END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T12:19:07.282670Z K 7 svn:log V 21 Initial manual page. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-03T13:09:22.168475Z K 7 svn:log V 140 Use a dedicated taskqueue with a thread that runs at a software-interrupt priority for the periodic polling of the machine check registers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T13:10:13.129728Z K 7 svn:log V 30 It is indeed 2011 already. :) END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-03T14:42:46.815774Z K 7 svn:log V 172 Eliminate unnecessary page hold_count checks. These checks predate r90944, which introduced a general mechanism for handling the freeing of held pages. Reviewed by: kib@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T15:13:15.057915Z K 7 svn:log V 154 Handle UNINITIALIZED volume state - report all disks as NEW and let transformation layer choose some for ACTIVE and rebuild the rest. Add some comments. END K 10 svn:author V 5 harti K 8 svn:date V 27 2011-02-03T15:19:18.740001Z K 7 svn:log V 56 Bring the list of OIDs up-to-date to prevent conflicts. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T15:46:54.207774Z K 7 svn:log V 373 When we got new disk, prefer to replace OFFLINE disk and only then FAILED. FAILED disk theoretically may still contain some usable information, while OFFLINE is definitely not. Also it may happen that new disk is really the one OFFLINE we are missing, and so information still could be restored. That's all about luck and magic, but why not if we are not loosing anything? END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-03T17:35:16.883691Z K 7 svn:log V 153 Accept r1 as having the metadata pointer argument if r0 is 0. This provides backward compatibility with Juniper loaders. Sponsored by: Juniper Networks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-03T18:07:05.656654Z K 7 svn:log V 234 The FDT describes the host controller directly. There's no need to get properties from the parent. The parent is in fact the FDT bus itself and will therefore not have the properties we're looking for. Sponsored by: Juniper Networks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-03T18:25:55.163723Z K 7 svn:log V 125 Fix for detection of MTK 3329 GPS USB devices. Submitted by: Mykhaylo Yehorov PR: usb/153929 Approved by: thompsa (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T18:47:13.468975Z K 7 svn:log V 50 Fix writing/dumping to non-OPTIMAL RAID1 volumes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T18:50:10.048011Z K 7 svn:log V 30 Heh, missed one more "break". END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-03T19:22:21.094471Z K 7 svn:log V 185 1) Move per John Baldwin to mp_maxid 2) Some signed/unsigned errors found by Mac OS compiler (from Michael) 3) a couple of copyright updates on the effected files. MFC after: 3 months END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T19:27:08.683648Z K 7 svn:log V 41 Grammar lesson. Submitted by: Ben Kaduk END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-03T19:50:42.433074Z K 7 svn:log V 288 Fix range locking in a number of ways. Avoid deadlocks with multiple I/Os that were documented previously. Also fix asymetry between different parts of the code that caused rebuild hangs when a read request was pending. # this fixes the rebuild hangs for me, and should for doug also. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-02-03T19:59:00.798499Z K 7 svn:log V 115 Make sure that changing the ECN sysctl does not affect exisiting associations and endpoints. MFC after: 3 months. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-03T20:04:37.784516Z K 7 svn:log V 25 Last second compile nits END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T20:10:16.947000Z K 7 svn:log V 49 Reduce verbosity of disk status reports logging. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-03T20:26:26.150125Z K 7 svn:log V 528 Disable the code I previously added from Rui's 802.11n branch. A-MPDU RX interferes with packet retransmission/reordering. In local testing, I was seeing A-MPDU being negotiated and then not used by the AP sending frames to the STA; the STA would then treat non A-MPDU frames that are retransmits as out of the window and get plain confused. The hardware RX status descriptor has a "I'm part of an aggregate" bit; so this should eventually be tested and then punted to the A-MPDU reorder handling only if it has this bit set. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-03T20:27:20.909692Z K 7 svn:log V 95 Do not update subdisk state from NONE and ACTIVE to ACTIVE. First is wrong. last is pointless. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-03T20:30:17.752335Z K 7 svn:log V 542 Modify the TX path to set and use the 11n rate scenario bits. This isn't strictly required to TX (at least non-agg and non-HT40, non-short-GI) frames; but as it needs to be done anyway, just get it done. Linux ath9k uses the rate scenario style path for -all- packets, legacy or otherwise. This code does much the same. Beacon TX still uses the legacy, non-rate-scenario TX descriptor setup. Ath9k also does this. This 11n rate scenario path is only called for chips in the AR5416 HAL; legacy chips use the previous interface for TX'ing. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-02-03T20:44:49.126468Z K 7 svn:log V 88 Fix several bugs in the stream schedulers. From Robin Seggelmann. MFC after: 3 months. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-03T23:38:11.088393Z K 7 svn:log V 111 sh: Return only 126 or 127 for execve() failures. Do not return 2 for errors other than [EACCES] or [ENOENT]. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-04T00:25:18.747595Z K 7 svn:log V 55 Oops, fix newbie mistake that breaks the normal build. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-04T00:48:41.750083Z K 7 svn:log V 39 minor tweaks to overly verbose messags END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-04T00:57:04.349077Z K 7 svn:log V 151 Add the ability to store the portmaster.rc file in the same directory as the script itself. Switch the test for existence of an rc file from -r to -s END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-02-04T01:09:02.659066Z K 7 svn:log V 54 Add PEX0 and select the first serial port as console. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-04T01:20:23.769801Z K 7 svn:log V 22 Minor formatting nits END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-04T03:10:57.206664Z K 7 svn:log V 187 There's no real need to rebuild some via a bizarre indirection of sending the event to kick off a little more rebuilding. We can make the calls directly without worrying about anything. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-04T03:18:51.660070Z K 7 svn:log V 22 More fussy formatting END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-04T03:30:28.654619Z K 7 svn:log V 51 move from #define to static variables for tunables END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-04T04:00:24.716593Z K 7 svn:log V 47 Finish converting #defines to sysctl/tunables. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-04T04:56:07.454433Z K 7 svn:log V 356 Simplify the recovery case. There's no real reason to clone the bios as we read/write the data: we're not doing anything in parallel and we're not servicing these bios on behalf of somene else whose original bios need to be preserved. This simplifies the code a bit, and plugs at least one error condition that was overlooked when I de-leaked this code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T07:02:35.586542Z K 7 svn:log V 85 Idle worker thread does not guarantee idle volume. Check for inflight requests also. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-04T07:15:39.085566Z K 7 svn:log V 18 Minor refactoring END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T08:11:44.006771Z K 7 svn:log V 98 Rename v_idle to v_dirty, which is closer to it's meaning. Clean volume doesn't mean idle volume. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2011-02-04T08:51:45.913042Z K 7 svn:log V 73 MFC 217888 Prison check addresses set with multicast interface options. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T09:15:12.224677Z K 7 svn:log V 340 Do not use provider private field for storing softc pointer. Provider can be destroyed by disk_gone(), which is called while holding lock and makes impossible to destroy sysctl context or reliably queue destruction. New implementation adds one more pointer dereference, but IMHO it is better then expose internal kitchen to the public API. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-04T09:15:23.016779Z K 7 svn:log V 262 MFC r218026: If more than one thread allocated sf buffers for sendfile(2), and each of the threads needs more while current pool of the buffers is exhausted, then neither thread can make progress. Switch to nowait allocations after we got first buffer already. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-04T10:19:56.452348Z K 7 svn:log V 198 MFC r216873: There can be more than 0x20000000 swap meta blocks allocated if a swap-backed md(4) device is used. Don't panic when deallocating such a device if swap has been used. PR: kern/133170 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T10:21:16.171375Z K 7 svn:log V 202 Stop rebuild process on stop() method call. Delay G_RAID_VOLUME_S_STOPPED state transition until currently running rebuild request complete. Free the rebuild buffer on free() method call, if allocated. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-04T10:22:19.130572Z K 7 svn:log V 198 MFC r216873: There can be more than 0x20000000 swap meta blocks allocated if a swap-backed md(4) device is used. Don't panic when deallocating such a device is swap has been used. PR: kern/133170 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T10:50:54.959646Z K 7 svn:log V 123 We can run I/O on SUBOPTIMAL RAID0 volumes (with FAILED disks). Without other choices we can just try and hope for better. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T11:02:58.926030Z K 7 svn:log V 64 For now, RAID1 configuration with only two disks are supported. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-02-04T12:03:48.209485Z K 7 svn:log V 32 Fix typo (Tuneable -> Tunable). END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T12:41:49.106904Z K 7 svn:log V 276 Complete move control over volume startup process to the metadata modules. They must know number of disks in array or volume and they can easily thack number of present disks. No need to duplicate that functionality in places that have even less information to take decision. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2011-02-04T13:09:46.760573Z K 7 svn:log V 118 Replace __LP64__ with __mips_n64. This partly reverts r217147. Requested by: jmallett, imp Approved by: kib (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T13:39:43.478608Z K 7 svn:log V 99 MFC 200605: Add entries to NOTES for the modular phy support so that these options are documented. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T13:40:02.581770Z K 7 svn:log V 99 MFC 200605: Add entries to NOTES for the modular phy support so that these options are documented. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-04T13:50:30.682500Z K 7 svn:log V 109 1) Fix cpu mapping per JB's suggestions 2) Fix it so INIT's don't always end up on CPU0 MFC after: 3 months END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T14:06:57.369847Z K 7 svn:log V 206 Use M_WAITOK rather than M_NOWAIT when creating taskqueues via the TASKQUEUE_DEFINE macros. All the places that use these macros to create taskqueues assume that the operation succeeds. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T14:13:15.930442Z K 7 svn:log V 184 When turning off TCP_NOPUSH, only call tcp_output() to immediately flush any pending data if the connection is established. Submitted by: csjp Reviewed by: lstewart MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T14:16:41.166882Z K 7 svn:log V 127 Always assert that the turnstile chain lock is held in turnstile_wait() and remove a duplicate hash lookup. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T14:20:27.659705Z K 7 svn:log V 96 Collapse duplicate definitions of EXT2_SB(). Submitted by: Pedro F. Giffuni giffunip at yahoo END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T14:25:39.884702Z K 7 svn:log V 175 MFC 218171: Output an appropriate amount of padding to line up per-CPU state columns rather than using a terminal sequence to move the cursor when drawing the initial screen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T14:29:05.015493Z K 7 svn:log V 175 MFC 218171: Output an appropriate amount of padding to line up per-CPU state columns rather than using a terminal sequence to move the cursor when drawing the initial screen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T14:44:42.500522Z K 7 svn:log V 199 MFC 217075: Retire PCONFIG and leave the priority of thread0 alone when waiting for interrupt config hooks to execute. To preserve the KBI, I did not renumber priorities but simply removed PCONFIG. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T14:44:59.076311Z K 7 svn:log V 199 MFC 217075: Retire PCONFIG and leave the priority of thread0 alone when waiting for interrupt config hooks to execute. To preserve the KBI, I did not renumber priorities but simply removed PCONFIG. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-02-04T15:22:56.131897Z K 7 svn:log V 203 vdev's sectorsize should not be greater than 8 Kbytes and also it should be power of 2. This prevents non-aligned access while probing vdev's labels. PR: kern/147852 Reviewed by: pjd MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T15:28:26.878725Z K 7 svn:log V 355 Teach RAID1 handle situations when no disk in ACTIVE state left: choose best disk of remaining (up to reasonable level) and make it ACTIVE. Introduce UNINITIALIZED subdisk state. It is same as NEW, except in can be safely promoted to ACTIVE. Store STALE subdisk state to metadata using dirty volume flag. Not exactly match, but closest of what we have. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-02-04T15:45:48.331605Z K 7 svn:log V 201 We can pass a format string and args to panic(), so instead of using printf() to output some information before a panic, just include that information in the panic. Submitted by: bde Reviewed by: bde END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T15:47:14.557362Z K 7 svn:log V 260 When volume is not idle, use shorter rebuild requests and truncate size of requests that already running. This should be a compromise between faster rebuild and lower payload performance degradation. Not exactly solution I would like to see, but still better. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T16:04:43.112508Z K 7 svn:log V 69 Until we have no real RESYNC implemented, handle it same as REBUILD. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T16:30:13.414912Z K 7 svn:log V 327 MFC 217292: - Retire some unused ithread priorities: PI_TTYHIGH, PI_TAPE, and PI_DISKLOW. While here, rename PI_TTYLOW to PI_TTY. - Add a macro PI_SWI() that takes a SWI_* constant as an argument and returns the suitable thread priority. To preserve the KBI, I did not renumber priorities but simply removed unused ones. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T16:32:34.988829Z K 7 svn:log V 327 MFC 217292: - Retire some unused ithread priorities: PI_TTYHIGH, PI_TAPE, and PI_DISKLOW. While here, rename PI_TTYLOW to PI_TTY. - Add a macro PI_SWI() that takes a SWI_* constant as an argument and returns the suitable thread priority. To preserve the KBI, I did not renumber priorities but simply removed unused ones. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-04T16:40:50.095652Z K 7 svn:log V 466 Make sys_signame upper case. This matches the constants from with 'SIG' removed, which POSIX requires kill and trap to accept and 'kill -l' to write. 'kill -l', 'trap', 'trap -l' output is now upper case. In Turkish locales, signal names with an upper case 'I' are now accepted, while signal names with a lower case 'i' are no longer accepted, and the output of 'killall -l' now contains proper capital 'I' without dot instead of a dotted capital 'I'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T17:11:37.108815Z K 7 svn:log V 269 MFC 217351: Introduce two new helper macros to define the priority ranges used for interactive timeshare threads (PRI_*_INTERACTIVE) and non-interactive timeshare threads (PRI_*_BATCH) and use these instead of PRI_*_REALTIME and PRI_*_TIMESHARE. No functional change. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T17:11:53.829962Z K 7 svn:log V 269 MFC 217351: Introduce two new helper macros to define the priority ranges used for interactive timeshare threads (PRI_*_INTERACTIVE) and non-interactive timeshare threads (PRI_*_BATCH) and use these instead of PRI_*_REALTIME and PRI_*_TIMESHARE. No functional change. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T17:26:44.324034Z K 7 svn:log V 105 MFC 217350: Use software interrupt priorities for USB kthreads instead of hardware interrupt priorities. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T17:49:55.159861Z K 7 svn:log V 762 Disable TX IP checksum offloading for RTL8168C controllers. The controller in question generates frames with bad IP checksum value if packets contain IP options. For instance, packets generated by ping(8) with record route option have wrong IP checksum value. The controller correctly computes checksum for normal TCP/UDP packets though. There are two known RTL8168/8111C variants in market and the issue I observed happened on RL_HWREV_8168C_SPIN2. I'm not sure RL_HWREV_8168C also has the same issue but it would be better to assume it has the same issue since they shall share same core. RTL8102E which is supposed to be released at the time of RTL8168/8111C announcement does not have the issue. Tested by: Konstantin V. Krotov ( kkv <> insysnet dot ru ) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-02-04T18:36:09.673358Z K 7 svn:log V 63 Correct include path. Submitted by: arundel MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-02-04T19:27:49.473903Z K 7 svn:log V 257 MFC r217207: Add missing __dead2 to __assert(). __assert() is called when an assertion fails. After printing an error message, it will call abort(). abort() never returns, hence it has the __dead2 attribute. Also add this attribute to __assert(). END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-02-04T19:27:59.647832Z K 7 svn:log V 257 MFC r217207: Add missing __dead2 to __assert(). __assert() is called when an assertion fails. After printing an error message, it will call abort(). abort() never returns, hence it has the __dead2 attribute. Also add this attribute to __assert(). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-02-04T19:49:02.698629Z K 7 svn:log V 447 Do not let pw.conf(5) or -M option affect creation of basehome, e.g., /home. When the basehome does not exist, it creates all intermediate directories as required, which is logically equivalent to mkdir(1) with -m and -p options. However, it modifies all intermediate directories, not just the final home directory unlike mkdir. This problem was introduced in two revisions, i.e., r1.59 (SVN r167919) and r1.60 (SVN r168044). MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T20:12:45.793330Z K 7 svn:log V 62 MFC r216828: Add RDC Semiconductor R6040 10/100 PHY driver. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T20:27:50.219608Z K 7 svn:log V 62 MFC r216828: Add RDC Semiconductor R6040 10/100 PHY driver. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T20:32:52.326544Z K 7 svn:log V 543 MFC r216829,216833: rr216829: Add driver for DM&P Vortex86 RDC R6040 Fast Ethernet. The controller is commonly found on DM&P Vortex86 x86 SoC. The driver supports all hardware features except flow control. The flow control was intentionally disabled due to silicon bug. DM&P Electronics, Inc. provided all necessary information including sample board to write driver and answered many questions I had. Many thanks for their support of FreeBSD. H/W donated by: DM&P Electronics, Inc. r216833: Remove debugging leftovers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T20:47:46.476300Z K 7 svn:log V 543 MFC r216829,216833: rr216829: Add driver for DM&P Vortex86 RDC R6040 Fast Ethernet. The controller is commonly found on DM&P Vortex86 x86 SoC. The driver supports all hardware features except flow control. The flow control was intentionally disabled due to silicon bug. DM&P Electronics, Inc. provided all necessary information including sample board to write driver and answered many questions I had. Many thanks for their support of FreeBSD. H/W donated by: DM&P Electronics, Inc. r216833: Remove debugging leftovers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T20:48:53.328182Z K 7 svn:log V 132 Make vte(4) work on stable/7. This is direct commit to stable/7 since if_maddr_rlock/if_maddr_runlock is not available in stable/7. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T20:51:18.280964Z K 7 svn:log V 70 MFC r216830: Add vte(4) to the list of supported network interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T20:52:13.994221Z K 7 svn:log V 70 MFC r216830: Add vte(4) to the list of supported network interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T20:57:37.832224Z K 7 svn:log V 164 MFC r216831,216858: r216831: Add vte(4) man page and hook up vte(4) to the build. Also add Xr to appropriate man pages. r216858: Remove duplicated "perfect" END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-02-04T20:59:45.335954Z K 7 svn:log V 164 MFC r216831,216858: r216831: Add vte(4) man page and hook up vte(4) to the build. Also add Xr to appropriate man pages. r216858: Remove duplicated "perfect" END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-04T21:04:00.080913Z K 7 svn:log V 122 Remove duplicate .note.GNU-stack section declaration. bcopy already made the neccessary provisions. Reported by: arundel END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-04T21:49:24.213093Z K 7 svn:log V 179 Since the last parameter to vm_object_shadow() is a vm_size_t and not a vm_pindex_t, it makes no sense for its callers to perform atop(). Let vm_object_shadow() do that instead. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-04T21:54:06.246388Z K 7 svn:log V 76 Remove duplicate .note.GNU-stack section declaration. Reported by: arundel END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-04T22:47:55.840424Z K 7 svn:log V 407 sh: Remove special code for shell scripts without magic number. These are called "shell procedures" in the source. If execve() failed with [ENOEXEC], the shell would reinitialize itself and execute the program as a script. This requires a fair amount of code which is not frequently used (most scripts have a #! magic number). Therefore just execute a new instance of sh (_PATH_BSHELL) to run the script. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-04T23:57:50.798339Z K 7 svn:log V 949 MFH r216978, r216979, r216980, r216981, r216984, r217014, r217188, r217189, r217193, r216981, r216984, r217014, r217188, r217189, r217193, r217194, r217267, r217284, r217285, r217287, r217293, r217301, r217311, r217363, r217372, r217373, r217378, r217380, r217389, r217409, r217411, r217462, r217465, r217466, r217467, r217507, r217546, r217565, r217662, r217827, r217828, r217842, r217884, r217889, r217891, r217892, r217907, r217912, r217918, r217919, r217920, r217926, r217929, r217972, r217989, r217992, r217998, r217999, r218006, r218008, r218016, r218023, r218052, r218053, r218062, r218063, r218083, r218084, r218086, r218106, r218143, r218161, r218174, r218204, r218212, r218213, r218220, r218222, r218224, r218226, r218230, r218231, r218233, r218234, r218236, r218237, r218239, r218244, r218247, r218248, r218249, r218250, r218251, r218252, r218253, r218254, r218255, r218257, r218260, r218262, r218263, r218265, r218279, r218281, r218282. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-05T03:14:55.007148Z K 7 svn:log V 28 Vendor import of BIND 9.6.3 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-05T03:15:28.819655Z K 7 svn:log V 22 Tag the 9.6.3 release END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-05T03:30:29.526386Z K 7 svn:log V 195 Make md_tp a register_t not a void *. This will keep us from accidentally dereferencng it and might be one fewer things to change if arm64 happens... Submitted by: rwatson's question on irc... END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-02-05T03:36:34.670482Z K 7 svn:log V 76 phys_addr is a PA not a VA so declare it as a vm_paddr_t not a vm_offset_t. END K 10 svn:author V 6 gordon K 8 svn:date V 27 2011-02-05T06:25:21.811520Z K 7 svn:log V 79 MFC r217767: Honor $PAGER instead of always calling more. Approved by: colin@ END K 10 svn:author V 6 gordon K 8 svn:date V 27 2011-02-05T06:26:16.641765Z K 7 svn:log V 79 MFC r217767: Honor $PAGER instead of always calling more. Approved by: colin@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T09:37:34.619938Z K 7 svn:log V 126 Add check that size and strip arguments are positive. Mostly do it because of mossing optional arguments support in 7-STABLE. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T09:39:32.131234Z K 7 svn:log V 14 Some cleanup. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T11:12:11.388382Z K 7 svn:log V 966 MFH r216978, r216979, r216980, r216981, r216984, r217014, r217188, r217189, r217193, r216981, r216984, r217014, r217188, r217189, r217193, r217194, r217267, r217284, r217285, r217287, r217293, r217301, r217311, r217363, r217372, r217373, r217378, r217380, r217389, r217409, r217411, r217462, r217465, r217466, r217467, r217507, r217546, r217565, r217662, r217827, r217828, r217842, r217884, r217889, r217891, r217892, r217907, r217912, r217918, r217919, r217920, r217926, r217929, r217972, r217989, r217992, r217998, r217999, r218006, r218008, r218016, r218023, r218052, r218053, r218062, r218063, r218083, r218084, r218086, r218106, r218143, r218161, r218174, r218204, r218212, r218213, r218220, r218222, r218224, r218226, r218230, r218231, r218233, r218234, r218236, r218237, r218239, r218244, r218247, r218248, r218249, r218250, r218251, r218252, r218253, r218254, r218255, r218257, r218260, r218262, r218263, r218265, r218279, r218281, r218282, r218314, r218315 END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-05T11:32:53.647335Z K 7 svn:log V 225 MFC r218166: Reintroduce bugfix from r210103 and fix xz on strong-aligned architectures. This fix was accidentially reverted with the 5.0.0 update in r215187. PR: bin/154310 Submitted by: Michael Moll END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T11:37:41.565181Z K 7 svn:log V 22 MFH r218314, r218315. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-02-05T12:12:51.731575Z K 7 svn:log V 109 1) Typo correction in comments and one spacing change. 2) Mass update to all copyrights. MFC after: 3 Months END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T12:54:59.811140Z K 7 svn:log V 412 sh: Do not try to execute binary files as scripts. If execve() returns an [ENOEXEC] error, check if the file is binary before trying to execute it using sh. A file is considered binary if at least one of the first 256 bytes is '\0'. In particular, trying to execute ELF binaries for the wrong architecture now fails with an "Exec format error" message instead of syntax errors and potentially strange results. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T12:56:29.084157Z K 7 svn:log V 86 Add -f argument to `graid delete` to specify whether open volume should be destroyed. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T13:07:35.104786Z K 7 svn:log V 144 Make sure that volume is closed before destroying transformation object. This guaranties that no requests are still running or will be running. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T14:01:46.050500Z K 7 svn:log V 285 sh: Forget all cached command locations on any PATH change. POSIX requires this and it is simpler than the previous code that remembered command locations when appending directories to PATH. In particular, PATH=$PATH is no longer a no-op but discards all cached command locations. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T14:08:51.395439Z K 7 svn:log V 50 sh: Remove clearcmdentry()'s now unused argument. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T15:02:19.032519Z K 7 svn:log V 313 sh: Fix two things about {(...)} foo; echo FOO:; cat foo END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T20:37:33.770951Z K 7 svn:log V 69 MFC r208501: sh(1): Improve wording of 'Special Parameters' section. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T20:48:45.605510Z K 7 svn:log V 367 MFC r208505: sh(1): Rework documentation of shell variables. * Move the "environment variables" that do not need exporting to be effective or that are set by the shell without exporting to a new section "Special Variables". * Add special variables LINENO and PPID. * Add environment variables LANG, LC_* and PWD; also describe ENV under environment variables. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T20:52:43.621153Z K 7 svn:log V 227 MFC r217444: Some old WD SATA disks report supported and enabled device-initiated interface power management, but return ABORT error on attempt to disable it. Make CAM SATA probe sequence ignore this error, as it is not fatal. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T20:54:47.693653Z K 7 svn:log V 135 MFC r217874: Make device initialization sequence shorter when possible. Do not enable/ disable already enabled/disabled SATA features. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T20:57:01.118511Z K 7 svn:log V 219 MFC r217875: In addition to r217444, ignore also ATA status errors on DMA Auto-Activation enabling request. Some HP disks reported to return ABORT error there while declaring support for this feature. PR: kern/152817 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T21:00:35.395776Z K 7 svn:log V 338 MFC r216168: sh(1): Clean up documentation of built-in commands. Make sure all built-in commands are in the subsection named such, except exp, let and wordexp which are deliberately undocumented. The text said only built-ins that really need to be a built-in were documented there but in fact almost all of them were already documented. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T21:02:13.281542Z K 7 svn:log V 69 MFC r216630: Explain why it is a bad idea to use aliases in scripts. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-02-05T21:21:27.924859Z K 7 svn:log V 332 Unless "cnt" exceeds MAX_COMMIT_COUNT, nfsrv_commit() and nfsvno_fsync() are incorrectly calling vm_object_page_clean(). They are passing the length of the range rather than the ending offset of the range. Perform the OFF_TO_IDX() conversion in vm_object_page_clean() rather than the callers. Reviewed by: kib MFC after: 3 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T21:24:37.725946Z K 7 svn:log V 324 MFC r216496: sh: Fix corruption of command substitutions with special chars after newline. The CTLESC byte to protect a special character was output before instead of after a newline directly preceding the special character. The special handling of newlines is because command substitutions discard all trailing newlines. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-05T21:34:26.909636Z K 7 svn:log V 248 MFC r217774: ICH7 SATA controller in legacy mode can provide access to SATA registers via AHCI-like memory resource at BAR(5). Use it if BIOS was so kind to allocate memory for that BAR. This allows hot-plug support and connection speed reporting. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T21:39:14.464330Z K 7 svn:log V 202 MFC r215550: sh: Add a test that manipulates various long strings. It is quite effective at detecting mistakes in memalloc.c and code using it. It is somewhat slow, but some later changes improve it. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T21:40:57.455137Z K 7 svn:log V 113 MFC r215766: sh: Pass multiple bytes at a time to lex. This speeds up the expansion/arith6.0 test considerably. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-02-05T21:43:37.327909Z K 7 svn:log V 105 Catch up with reality and references from the latest RFCs (especially 5735) for our default empty zones. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-02-05T21:47:04.528589Z K 7 svn:log V 197 MFC r216019: sh: Make the test for cd/pwd with long pathnames more useful: * Use $(getconf PATH_MAX /) to make sure we actually exercise the hard part * Delete our test area even if the test fails END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-05T21:50:23.185097Z K 7 svn:log V 99 MFC r198854 (by attilio): Split P_NOLOAD into a per-thread flag (TDF_NOLOAD) Approved by: attilio END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-05T22:04:20.806560Z K 7 svn:log V 114 MFC r212999 (by jhb): Copy td_rqindex during fork instead of zero'ing it to match the comments. Approved by: jhb END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-05T22:54:37.207958Z K 7 svn:log V 298 Add a temporary workaround so the 11n rate scenario setup code sets a useful TX chainmask. since the upper layers don't (yet) know about the active TX/RX chainmasks, it can't tell the rate scenario functions what to use. I'll eventually sort this out; this restores functionality in the meantime. END