ļ4212538 136 275 182 163 2616 133 118 880 278 97 190 111 618 133 120 133 527 329 373 193 117 168 527 161 117 406 375 167 167 161 742 768 223 406 277 320 189 162 191 251 244 193 960 341 141 104 530 349 251 285 242 117 196 920 110 211 605 323 179 265 288 149 173 222 231 161 380 146 299 253 190 287 117 256 203 100 162 241 125 179 263 207 191 444 281 110 164 253 236 186 712 168 194 351 114 255 221 132 205 181 115 124 188 188 175 157 190 233 233 127 829 119 163 532 186 228 775 231 276 176 1017 418 242 903 496 206 618 361 208 635 635 12516 177 534 693 1577 627 K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T07:16:48.169314Z K 7 svn:log V 182 Use MACHINE_CPUARCH as appropriate Define __KLD_SHARED to be yes or no depending on if the target uses shared binaries for klds or not (this also eliminates 4 uses of MACHINE_ARCH). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-13T07:18:00.908841Z K 7 svn:log V 86 PS_DEAD state needs not be checked because _thr_find_thread() has already checked it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T07:22:14.775484Z K 7 svn:log V 71 Prefer MACHINE_CPUARCH to MACHINE_ARCH unless there's a good reason... END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-13T07:25:35.742972Z K 7 svn:log V 2522 Refactor timer management code with priority to one-shot operation mode. The main goal of this is to generate timer interrupts only when there is some work to do. When CPU is busy interrupts are generating at full rate of hz + stathz to fullfill scheduler and timekeeping requirements. But when CPU is idle, only minimum set of interrupts (down to 8 interrupts per second per CPU now), needed to handle scheduled callouts is executed. This allows significantly increase idle CPU sleep time, increasing effect of static power-saving technologies. Also it should reduce host CPU load on virtualized systems, when guest system is idle. There is set of tunables, also available as writable sysctls, allowing to control wanted event timer subsystem behavior: kern.eventtimer.timer - allows to choose event timer hardware to use. On x86 there is up to 4 different kinds of timers. Depending on whether chosen timer is per-CPU, behavior of other options slightly differs. kern.eventtimer.periodic - allows to choose periodic and one-shot operation mode. In periodic mode, current timer hardware taken as the only source of time for time events. This mode is quite alike to previous kernel behavior. One-shot mode instead uses currently selected time counter hardware to schedule all needed events one by one and program timer to generate interrupt exactly in specified time. Default value depends of chosen timer capabilities, but one-shot mode is preferred, until other is forced by user or hardware. kern.eventtimer.singlemul - in periodic mode specifies how much times higher timer frequency should be, to not strictly alias hardclock() and statclock() events. Default values are 2 and 4, but could be reduced to 1 if extra interrupts are unwanted. kern.eventtimer.idletick - makes each CPU to receive every timer interrupt independently of whether they busy or not. By default this options is disabled. If chosen timer is per-CPU and runs in periodic mode, this option has no effect - all interrupts are generating. As soon as this patch modifies cpu_idle() on some platforms, I have also refactored one on x86. Now it makes use of MONITOR/MWAIT instrunctions (if supported) under high sleep/wakeup rate, as fast alternative to other methods. It allows SMP scheduler to wake up sleeping CPUs much faster without using IPI, significantly increasing performance on some highly task-switching loads. Tested by: many (on i386, amd64, sparc64 and powerc) H/W donated by: Gheorghe Ardelean Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T07:27:03.364364Z K 7 svn:log V 41 Prefer MACHINE_CPUARCH over MACHINE_ARCH END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T07:29:02.147482Z K 7 svn:log V 26 Simplify atomic selection END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-13T08:34:20.798489Z K 7 svn:log V 787 bus_add_child: add specialized default implementation that calls panic If a kobj method doesn't have any explicitly provided default implementation, then it is auto-assigned kobj_error_method. kobj_error_method is proper only for methods that return error code, because it just returns ENXIO. So, in the case of unimplemented bus_add_child caller would get (device_t)ENXIO as a return value, which would cause the mistake to go unnoticed, because return value is typically checked for NULL. Thus, a specialized null_add_child is added. It would have sufficied for correctness to return NULL, but this type of mistake was deemed to be rare and serious enough to call panic instead. Watch out for this kind of problem with other kobj methods. Suggested by: jhb, imp MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-13T08:49:08.874258Z K 7 svn:log V 185 MFC r211998: Make the syscalls reserved for AFS usable by OpenAFS port. The 'NOTSTATIC' flag is removed on merge, since corresponding functionality is not implemented in the RELENG_8. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-13T08:49:51.559932Z K 7 svn:log V 6 Regen END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-13T08:56:07.042838Z K 7 svn:log V 98 - Allow to specify value as const pointers. - Make optional string values always an empty string. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-13T09:23:38.401672Z K 7 svn:log V 15 Update symbol. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-13T09:51:24.095514Z K 7 svn:log V 525 acpi_cpu: do not apply P_LVLx_LAT rules to latencies returned by _CST ACPI specification sates that if P_LVL2_LAT > 100, then a system doesn't support C2; if P_LVL3_LAT > 1000, then C3 is not supported. But there are no such rules for Cx state data returned by _CST. If a state is not supported it should not be included into the return package. In other words, any latency value returned by _CST is valid, it's up to the OS and/or user to decide whether to use it. Submitted by: nork Suggested by: mav MFC after: 1 week END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-13T11:47:35.848382Z K 7 svn:log V 36 bus_add_child method is needed now. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-13T11:57:46.031323Z K 7 svn:log V 24 Fix copy&paste problem. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-13T11:58:42.442011Z K 7 svn:log V 37 Don't compare thread pointers again. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-13T13:11:50.588857Z K 7 svn:log V 429 sys/mips/rmi/msgring.h - fixes and clean up. - Remove sync from msgrng_send, sync needs to be called just once before sending. - Fix retry logic - don't reload registers when retrying in message_send, also fix check for send pending fail. - remove unused message_send_block_fast() - merge message_receive_fast() to message_receive - style(9) fixes, and comments - rge and nlge updated for the sys/mips/rmi/msgring.h changes END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-13T13:48:18.980088Z K 7 svn:log V 236 - Remove gc_argname field. It was introduced for gpart(8), but if I understand everything correctly, we don't really need it. - Provide default numeric value as strings. This allows to simplify a lot of code. - Bump version number. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-13T13:59:28.329964Z K 7 svn:log V 280 Add G_TYPE_MULTI flag, which when set for the given option, will allow the option to be specified multiple times. This will help to implement things like passing multiple keyfiles to geli(8) instead of cat(1)ing them all into stdin and reading from there using one '-k -' option. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-13T14:25:07.846295Z K 7 svn:log V 100 Change call order to enable interrupts only after timer being programmed. Submitted by: nwhitehorn END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T15:19:49.276970Z K 7 svn:log V 25 merge from head @r212556 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T15:30:09.491289Z K 7 svn:log V 76 Move to using Makefile.arch to include the proper target-specific programs. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-13T15:36:42.182992Z K 7 svn:log V 426 Fix a subtle bug uncovered by the recent one-shot timer import in which any spin locks acquired between the enabling of interrupts in machdep_ap_bootstrap() and the invocation of the scheduler would fail to have interrupts disabled due to the fake spinlock already held by the idle thread. sched_throw(NULL) will enable interrupts by itself when exiting this spinlock, so just let it do that and don't enable interrupts here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T16:39:33.829279Z K 7 svn:log V 69 TARGET_64BIT isn't needed anymore, GC it (partial merge from tbemd). END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-13T16:43:41.861240Z K 7 svn:log V 25 Merge from head @r212560 END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-13T17:18:49.731977Z K 7 svn:log V 313 MFC r209053: Add INVARIANTS checking that numfreebufs values are sane. Also add a per-buf flag to catch if a buf is double-counted in the free count. This code was useful to debug an instance where a local patch at Isilon was incorrectly managing numfreebufs for a new buf state. Requested by: Kostic Belousov END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-13T17:23:18.317095Z K 7 svn:log V 282 MFC r209053: Add INVARIANTS checking that numfreebufs values are sane. Also add a per-buf flag to catch if a buf is double-counted in the free count. This code was useful to debug an instance where a local patch at Isilon was incorrectly managing numfreebufs for a new buf state. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-13T17:27:43.601021Z K 7 svn:log V 75 MFC 212269. Add ECONNRESET to connect(2). Approved by: keramida (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-13T17:28:35.524029Z K 7 svn:log V 75 MFC 212269. Add ECONNRESET to connect(2). Approved by: keramida (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-13T17:30:29.864900Z K 7 svn:log V 69 MFC 212263. Fix typo in bsdcpio(1). Approved by: keramida (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-13T17:49:39.966630Z K 7 svn:log V 646 Add a note about userland DTracing. Sponsored by: The FreeBSD Foundation > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M UPDATING END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-13T17:53:43.415619Z K 7 svn:log V 672 Bump __FreeBSD_version to reflect the userland DTrace changes. Sponsored by: The FreeBSD Foundation > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M param.h END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-13T18:26:32.585700Z K 7 svn:log V 126 Don't need to hold Giant again at attach because it's already hold from the bus driver. Instead of holding it adds a assert. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-13T18:26:34.181997Z K 7 svn:log V 310 Allow a kernel config to specify a set but empty value via 'makeoptions OPTION=' for consistency with the make commandline. Previously 'makeoptions WERROR=' would result in a syntax error; now it produces the same effect as 'makeoptions WERROR'. Both forms now result in 'WERROR=' in the generated Makefile. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-13T18:32:49.714827Z K 7 svn:log V 180 Adds a XXX comment not sure that devclass_find(9) requires Giant holding. Just looking the source code it looks it doesn't require it though it has a `devclasses' traversal loop. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-13T18:48:23.589090Z K 7 svn:log V 227 Revert r212370, as it causes a LOR on powerpc. powerpc does a few unexpected things in copyout(9) and so wiring the user buffer is not sufficient to perform a copyout(9) while holding a random mutex. Requested by: nwhitehorn END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-13T19:47:09.212408Z K 7 svn:log V 97 Remove the page queues lock around vm_page_undirty() - it is no longer needed. Reviewed by: alc END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-09-13T19:51:15.176822Z K 7 svn:log V 70 Revert changes in r206408. Discussed with: dougb, core.5, and core.6 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-09-13T19:52:04.067132Z K 7 svn:log V 99 Fix $ipv6_network_interfaces and set it as AUTO by default. Based on: changes in r206408 by dougb END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-09-13T19:52:46.859327Z K 7 svn:log V 158 Add $ipv6_privacy to support net.inet6.ip6.use_tempaddr. Note that this will be replaced with a per-IF version later. Based on: changes in r206408 by dougb END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-09-13T19:53:22.513741Z K 7 svn:log V 151 - Check some specific IFs first in ipv6_autoconfif(). - $ipv6_enable supports YES|TRUE|ON|1 as in checkyesno(). Based on: changes in r206408 by dougb END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-09-13T19:53:54.174984Z K 7 svn:log V 100 Localize $_punct_c in get_if_var() and whitespace clean-ups. Based on: changes in r206408 by dougb END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-09-13T19:55:40.122211Z K 7 svn:log V 867 Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces. The $ip6addrctl_policy is a variable to choose a pre-defined address selection policy set by ip6addrctl(8). The keyword "ipv4_prefer" sets IPv4-preferred one described in Section 10.3, the keyword "ipv6_prefer" sets IPv6-preferred one in Section 2.1 in RFC 3484, respectively. When "AUTO" is specified, it attempts to read /etc/ip6addrctl.conf first. If it is found, it reads and installs it as a policy table. If not, either of the two pre-defined policy tables is chosen automatically according to $ipv6_activate_all_interfaces. When $ipv6_activate_all_interfaces=NO, interfaces which have no corresponding $ifconfig_IF_ipv6 is marked as IFDISABLED for security reason. The default values are ip6addrctl_policy=AUTO and ipv6_activate_all_interfaces=NO. Discussed with: ume and bz END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-09-13T19:58:46.303239Z K 7 svn:log V 247 Fix segment:offset calculation of interrupt vector for relocated video BIOS when the original offset is bigger than size of one page. X86BIOS macros cannot be used here because it is assumed address is only linear in a page. Tested by: netchild END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-13T20:06:52.389966Z K 7 svn:log V 45 Removes unused variable, sc_last_start_xfer. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-13T20:11:18.191887Z K 7 svn:log V 9 style(9) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-13T20:29:09.856228Z K 7 svn:log V 437 MFC r211213: The buffers b_vflags field is not always properly protected by bufobj lock. If b_bufobj is not NULL, then bufobj lock should be held when manipulating the flags. Not doing this sometimes leaves BV_BKGRDINPROG to be erronously set, causing softdep' getdirtybuf() to stuck indefinitely in "getbuf" sleep, waiting for background write to finish which is not actually performed. Add BO_LOCK() in the cases where it was missed. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-13T22:27:52.523322Z K 7 svn:log V 252 `struct usb_process' for giant_callback_proc, non_giant_callback_proc and control_xfer_proc are changed to taskqueue(9) based implmentation. From this point AFAIK there's no consumers to use usb_process.[ch] files so as further works it'll be removed. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-13T22:40:10.094015Z K 7 svn:log V 154 Removes usb_process.[ch] not used anymore at USB stack. All are replaced with taskqueue(9). While I'm here, usbd_do_request_proc() API is also removed. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-13T22:50:05.874371Z K 7 svn:log V 184 Fix a missing set of parantheses that could cause recent versions of libthr to crash deferencing a NULL pointer to the user context on powerpc64 systems with COMPAT_FREEBSD32 defined. END K 10 svn:author V 4 emax K 8 svn:date V 27 2010-09-14T00:32:29.471513Z K 7 svn:log V 148 MFC r212296 Do not request SDP attributes using ranges. Apparently some devices do not like it. Tested by: Buganini < buganini at gmail dot com > END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-14T01:10:30.269663Z K 7 svn:log V 25 merge from head @r212587 END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-09-14T01:27:53.669807Z K 7 svn:log V 102 Enforce that pmap_mapdev() always returns uncacheable mappings. Reviewed by: imp, jchandra, jmallett END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-14T01:28:05.553568Z K 7 svn:log V 822 MFC: r212043 Add a null_remove() function to nullfs, so that the v_usecount of the lower level vnode is incremented to greater than 1 when the upper level vnode's v_usecount is greater than one. This is necessary for the NFS clients, so that they will do a silly rename of the file instead of actually removing it when the file is still in use. It is "racy", since the v_usecount is incremented in many places in the kernel with minimal synchronization, but an extraneous silly rename is preferred to not doing a silly rename when it is required. The only other file systems that currently check the value of v_usecount in their VOP_REMOVE() functions are nwfs and smbfs. These file systems choose to fail a remove when the v_usecount is greater than 1 and I believe will function more correctly with this patch, as well. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-14T01:33:21.265684Z K 7 svn:log V 15 Remove extra ; END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-14T01:40:59.940692Z K 7 svn:log V 115 Remove libf2c. It hasn't been used for more than 11 years, since revision 1.90 (CVS; SVN r45770) of lib/Makefile. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-09-14T01:48:01.193519Z K 7 svn:log V 511 Port r212559 to mips. Do not explicitly enable interrupts in smp_init_secondary() because it renders any spinlock protected code after that point to run with interrupts enabled. This is because the processor is executing in the context of idlethread whose 'md_spinlock_count' is already set to 1. Instead just let sched_throw() re-enable interrupts when it releases the spinlock. The original powerpc commit log for r212559 is available here: http://svn.freebsd.org/viewvc/base?view=revision&revision=212559 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-14T01:51:04.594484Z K 7 svn:log V 227 Avoid repeatedly spamming the console while a timed out command is waiting to complete. Instead, print one message after the timeout period expires, and one more when (if) the command eventually completes. MFC after: 1 month END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-14T01:52:16.789483Z K 7 svn:log V 83 Renames `driver_added_refcount' to `generation' that it's not a reference counter. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-14T02:05:08.199603Z K 7 svn:log V 168 Initializes `bus->generation' when the USB bus structure is initialized that don't need to check it whenever usb_bus_explore() is called because it'd not be decreased. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2010-09-14T03:18:11.711818Z K 7 svn:log V 192 Resurrect PSIM support by moving the cacheline size-detection warning printf outside of the MMU-disabled region. A call into OpenFirmware with the MMU off resulted in an internal PSIM assert. END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2010-09-14T03:31:26.737586Z K 7 svn:log V 51 See svn.freebsd.org/base/projects/pkgtools instead END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-14T04:22:27.284156Z K 7 svn:log V 81 This whole section applies only to mips, and pick up the dropped .if from before END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-14T04:48:04.248547Z K 7 svn:log V 129 Add some foot shooting protection by checking singlemul value correctness. Rephrase sysctls descriptions. Suggested by: edmaste END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-14T04:57:30.776465Z K 7 svn:log V 138 Replace spin lock with the set of atomics. It is impractical for one tc_ticktock() call to wait for another's completion -- just skip it. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-09-14T07:09:24.685031Z K 7 svn:log V 69 Fix an overflow in the tps calculation. Noticed by: Pieter de Goeje END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-14T08:48:06.682548Z K 7 svn:log V 287 Make kern_tc.c provide minimum frequency of tc_ticktock() calls, required to handle current timecounter wraps. Make kern_clocksource.c to honor that requirement, scheduling sleeps on first CPU for no more then specified period. Allow other CPUs to sleep up to 1/4 second (for any case). END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-14T10:26:49.073191Z K 7 svn:log V 54 Fix panic on NULL dereference possible after r212541. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-09-14T10:27:32.368120Z K 7 svn:log V 207 Add missing vop_vector zfsctl_ops_shares Add missing locks around VOP_READDIR and VOP_GETATTR with z_shares_dir PR: kern/150544 Approved by: delphij (mentor) Obtained from: perforce (pjd) MFC after: 1 day END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-14T11:13:46.734685Z K 7 svn:log V 160 Introduce special G_VAL_OPTIONAL define, which when given in value field tells geom(8) to ignore it when it is not given and don't try to obtain default value. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-14T11:19:21.728578Z K 7 svn:log V 98 Remove dot which shouldn't be here, as err(3) will attach error message at the end of the string. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-14T11:36:26.402301Z K 7 svn:log V 194 All gpart(8) subcommands apart from the 'bootcode' subcommand handle given geom/provider names with and without /dev/ prefix. Teach the 'bootcode' subcommand to handle /dev/ names as well. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-14T11:42:07.389820Z K 7 svn:log V 25 Simplify the code a bit. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-14T12:12:07.574653Z K 7 svn:log V 163 Synchronize newfs(8) manual with code. PR: 61716 Submitted by: Radim Kolar Patch by: arundel Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-09-14T12:12:18.733407Z K 7 svn:log V 111 Remove duplicated VFS_HOLD due to a mismerge. PR: kern/150544 Approved by: delphij (mentor) MFC after: 1 day END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-14T14:56:34.268557Z K 7 svn:log V 5 MFC. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-14T16:19:09.393092Z K 7 svn:log V 70 Update two last places where "arg0" should be used instead of "geom". END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-14T16:21:13.067414Z K 7 svn:log V 148 - Change all places where G_TYPE_ASCNUM is used to G_TYPE_NUMBER. It turns out the new type wasn't really needed. - Reorganize code a little bit. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-14T16:22:22.613110Z K 7 svn:log V 33 Remove now unused G_TYPE_ASCNUM. END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-09-14T17:22:06.992573Z K 7 svn:log V 87 MFp4: (//depot/projects/mps/...) Report data overruns properly. Submitted by: scottl END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-09-14T18:04:05.339288Z K 7 svn:log V 165 Update comments in soft updates code to more fully describe the addition of journalling. Only functional change is to tighten a KASSERT. Reviewed by: jeff Roberson END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-14T18:58:51.895227Z K 7 svn:log V 114 Rename the field to not confuse readers. The bytes are actually used. Discussed with: rmacklem MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-09-14T19:35:43.527051Z K 7 svn:log V 96 Remove redundant raising of the PIL to PIL_TICK as the respective locore code already did that. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-09-14T20:31:09.299187Z K 7 svn:log V 348 Remove a KASSERT which will also trigger for perfectly valid combinations of small maxsize and "large" (including BUS_SPACE_UNRESTRICTED) nsegments parameters. Generally using a presz of 0 (which indeed might indicate the use of bogus parameters for DMA tag creation) is not fatal, it just means that no additional DVMA space will be preallocated. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-09-14T20:41:06.991852Z K 7 svn:log V 185 Use saner nsegments and maxsegsz parameters when creating certain DMA tags; tags for 1-byte allocations cannot possibly be split across 2 segments and maxsegsz must not exceed maxsize. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-14T20:54:22.734431Z K 7 svn:log V 18 Remove dead code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-14T20:55:25.866271Z K 7 svn:log V 72 Force commit to note, than the previous change was... Submitted by: ae END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-09-14T21:40:29.546832Z K 7 svn:log V 160 MFp4 (//depot/projects/mps/...) Add a man page for the mps(4) driver, and reference it in the mpt(4) driver man page. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-14T23:27:06.424349Z K 7 svn:log V 139 Fixes spellings and uses the better sentence. While I'm here bumps date. Pointed by: imp, Ruslan Mahmatkhanov END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-14T23:54:03.095562Z K 7 svn:log V 90 Removes a XXX comment that calling devclass_find(9) requires Giant also. Pointed by: imp END K 10 svn:author V 6 grehan K 8 svn:date V 27 2010-09-15T00:17:52.497280Z K 7 svn:log V 616 Introduce inheritance into the PowerPC MMU kobj interface. include/mmuvar.h - Change the MMU_DEF macro to also create the class definition as well as define the DATA_SET. Add a macro, MMU_DEF_INHERIT, which has an extra parameter specifying the MMU class to inherit methods from. Update the comments at the start of the header file to describe the new macros. booke/pmap.c aim/mmu_oea.c aim/mmu_oea64.c - Collapse mmu_def_t declaration into updated MMU_DEF macro The MMU_DEF_INHERIT macro will be used in the PS3 MMU implementation to allow it to inherit the stock powerpc64 MMU methods. Reviewed by: nwhitehorn END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-15T01:19:11.917475Z K 7 svn:log V 73 Add some enums and constants from Adaptec's latest driver (build 17911). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-15T01:21:30.537162Z K 7 svn:log V 98 Move back IN_GCLIST flag into field tlflags, since thread list and gc list still share same lock. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-15T02:56:32.876139Z K 7 svn:log V 254 add code to support stack unwinding when thread exits. note that only defer-mode cancellation works, asynchrnous mode does not work because it lacks of libuwind's support. stack unwinding is not enabled unless LIBTHR_UNWIND_STACK is defined in Makefile. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-15T04:51:07.931257Z K 7 svn:log V 22 Add hpet(4) man page. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-09-15T05:10:50.091825Z K 7 svn:log V 161 Make the meaning of the 'mask' argument to 'set_intr_mask(mask)' consistent with the meaning of IM bits in the status register. Reviewed by: jmallett, jchandra END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-09-15T05:29:13.970089Z K 7 svn:log V 127 Factor out the common parts of the swarm board in SWARM_COMMON and start including that in SWARM and SWARM_SMP kernel configs. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-09-15T05:32:10.238713Z K 7 svn:log V 39 Add 64-bit SWARM board kernel configs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-15T07:04:14.896353Z K 7 svn:log V 112 Add eventtimers(7) man page, briefly describing event timers subsystem functionality and configuration options. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-15T07:10:39.697477Z K 7 svn:log V 89 Change licenses of my manual pages to the recommended 2-clause form. Suggested by: joel END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-15T07:28:31.646047Z K 7 svn:log V 23 MFC r212499: Fix typo. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-15T07:30:27.688795Z K 7 svn:log V 32 MFC r212501: Add DF_1_LOADFLTR. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T08:03:23.042792Z K 7 svn:log V 96 MFC r211762: zfs arc_reclaim_thread: no need to call arc_reclaim_needed when resetting needfree END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T08:07:58.424244Z K 7 svn:log V 96 MFC r211762: zfs arc_reclaim_thread: no need to call arc_reclaim_needed when resetting needfree END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T08:18:20.165302Z K 7 svn:log V 83 MFC r209055: Fix a possible dereference of null pointer. Original commit by jkim. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T08:24:19.218806Z K 7 svn:log V 65 MFC r209064: Remove unused assignment. Original commit by jkim. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-15T08:44:57.863730Z K 7 svn:log V 94 Temporary disable netdump client when VIMAGE is specified. To be fixed ASAP. Reported by: bz END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-09-15T09:38:01.420153Z K 7 svn:log V 138 MFC r211874: Use timestamp modulo comparison macro for automatic receive buffer scaling to correctly handle wrapping of ticks value. END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-09-15T09:38:42.953084Z K 7 svn:log V 138 MFC r211874: Use timestamp modulo comparison macro for automatic receive buffer scaling to correctly handle wrapping of ticks value. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-15T09:48:18.413581Z K 7 svn:log V 31 Revert a change that crept in. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T10:02:46.237137Z K 7 svn:log V 736 sys/pcpu.h: remove a workaround for a fixed ld bug The workaround was incorrectly documented as having something to do with set_pcpu section's progbits, but in fact it was for incorrect placement of __start_set_pcpu because of the bug in ld. The bug was fixed in r210245, see commit message for details. A side-effect of the workaround was that a zero-size set_pcpu section was produced for modules, source code of which included pcpu.h but didn't actually define any dynamic per-cpu variables. This commit should remove the side-effect. The same workaround is present sys/net/vnet.h, has an analogous side-effect and can be removed as well. An UPDATING entry that warns about a need for recent ld is following. MFC after: 1 month END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T10:04:41.264457Z K 7 svn:log V 27 UPDATING entry for r212647 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-15T10:18:18.483957Z K 7 svn:log V 68 Add a man page for plockstat. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T10:31:27.646536Z K 7 svn:log V 439 tmpfs, zfs + sendfile: mark page bits as valid after populating it with data Otherwise, adding insult to injury, in addition to double-caching of data we would always copy the data into a vnode's vm object page from backend. This is specific to sendfile case only (VOP_READ with UIO_NOCOPY). PR: kern/141305 Reported by: Wiktor Niesiobedzki Reviewed by: alc Tested by: tools/regression/sockets/sendfile MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-15T10:32:32.460224Z K 7 svn:log V 91 Remove an explicit assignment of the CFLAGS variable intended for debugging purposes only. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T10:39:21.921560Z K 7 svn:log V 135 zfs: catch up with vm_page_sleep_if_busy changes Reviewed by: alc Approved by: pjd Tested by: tools/regression/fsx MFC after: 2 weeks END K 10 svn:author V 5 andre K 8 svn:date V 27 2010-09-15T10:39:30.083134Z K 7 svn:log V 680 Change the default MSS for IPv4 and IPv6 TCP connections from an artificial power-of-2 rounded number to their real values specified in RFC879 and RFC2460. From the history and existing comments it appears that the rounded numbers were intended to be advantageous for the kernel and mbuf system. However this hasn't been the case at for at least a long time. The mbuf clusters used in tcp_output() have enough space to hold the larger real value for the default MSS for both IPv4 and IPv6. Note that the default MSS is only used when path MTU discovery is disabled. Update and expand related comments. Reviewed by: lsteward (including some word-smithing) MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T10:44:20.142964Z K 7 svn:log V 138 zfs mappedread: use uiomove_fromphys where possible Reviewed by: alc Approved by: pjd Tested by: tools/regression/fsx MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T10:48:16.560804Z K 7 svn:log V 183 zfs mappedread, update_pages: use int for offset and length within a page uint64_t, int64_t were redundant there Approved by: pjd Tested by: tools/regression/fsx MFC after: 2 weeks END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2010-09-15T11:04:02.970874Z K 7 svn:log V 81 MFC r212317 & r212412 Add Buffalo (Melco Inc.) LUA3-U2-ATX Add Planex UE-200TX-G END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-15T11:05:41.990523Z K 7 svn:log V 924 zfs vn_has_cached_data: take into account v_object->cache != NULL This mirrors code in tmpfs. This changge shouldn't affect much read path, it may cause unnecessary vm_page_lookup calls in the case where v_object has no active or inactive pages but has some cache pages. I believe this situation to be non-essential. In write path this change should allow us to properly detect the above case and free a cache page when we write to a range that corresponds to it. If this situation is undetected then we could have a discrepancy between data in page cache and in ARC or on disk. This change allows us to re-enable vn_has_cached_data() check in zfs_write. NOTE: strictly speaking resident_page_count and cache fields of v_object should be exmined under VM_OBJECT_LOCK, but for this particular usage we may get away with it. Discussed with: alc, kib Approved by: pjd Tested with: tools/regression/fsx MFC after: 3 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-15T13:43:43.623238Z K 7 svn:log V 317 MFC r211967,212044,212278,212322,212331: Fix a variety of race conditions and errors in VSID allocation in both the 32 and 64-bit PMAP modules, some dating back to the original PMAP import from NetBSD. This fixes a variety of potential crashes and memory corruption bugs, especially on SMP systems under heavy load. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-15T13:45:06.069858Z K 7 svn:log V 141 MFC r212363: Reorder statistics tracking and table lock acquisitions already in place to avoid race conditions updating the PVO statistics. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-15T14:23:55.103208Z K 7 svn:log V 811 Remove empty devfs directories automatically. devfs_delete() now recursively removes empty parent directories unless the DEVFS_DEL_NORECURSE flag is specified. devfs_delete() can't be called anymore with a parent directory vnode lock held because the possible parent directory deletion needs to lock the vnode. Thus we unlock the parent directory vnode in devfs_remove() before calling devfs_delete(). Call devfs_populate_vp() from devfs_symlink() and devfs_vptocnp() as now directories can get removed. Add a check for DE_DOOMED flag to devfs_populate_vp() because devfs_delete() drops dm_lock before the VI_DOOMED vnode flag gets set. This ensures that devfs_populate_vp() returns an error for directories which are in progress of deletion. Reviewed by: kib Discussed on: freebsd-current (mostly silence) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-15T14:24:21.756774Z K 7 svn:log V 399 Fix bogus busying mechanism from cdevsw callbacks: - D_TRACKCLOSE may be used there as d_close() are expected to match up d_open() calls - Replace the hand-crafted counter and flag with the device_busy()/device_unbusy() proper usage. Sponsored by: Sandvine Incorporated Reported by: Mark Johnston Tested by: Mark Johnston Reviewed by: emaste MFC after: 10 days END K 10 svn:author V 6 philip K 8 svn:date V 27 2010-09-15T15:17:54.883331Z K 7 svn:log V 110 Take piso's and benjsc's commit bits into safekeeping per their request (a while ago now). Approved by: core END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-09-15T15:18:41.309023Z K 7 svn:log V 522 - Update the comment in swi_vm() regarding busdma bounce buffers; it's unlikely that support for these ever will be implemented on sparc64 as the IOMMUs are able to translate to up to the maximum physical address supported by the respective machine, bypassing the IOMMU is affected by hardware errata and being able to support DMA engines which cannot do at least 32-bit DMA does not justify the costs. - The page zeroing in uma_small_alloc() may use the VIS-based block zero function so take advantage of it. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-15T15:33:51.560487Z K 7 svn:log V 268 Revert r212563, which was a MFC of r209053, as it introduced an unlocked read/modify/write of b_vflags. The unlocked access is fixed in CURRENT and stable/8 by r211213 and its MFC, r212583. Rather than MFC to stable/7, reverting the injecting code seems preferable. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-15T15:38:47.224885Z K 7 svn:log V 115 Move the pfrom initialization from before the setjmp to after the setjmp to avoid warnings on the powerpc build... END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-15T15:53:05.508834Z K 7 svn:log V 542 MFC r212115: Fix a bug with sched_affinity() where it checks td_pinned of another thread in a racy manner, which can lead to attempting to migrate a thread that is pinned to a CPU. Instead, have sched_switch() determine which CPU a thread should run on if the current one is not allowed. KASSERT in sched_bind() that the thread is not yet pinned to a CPU. KASSERT in sched_switch() that only migratable threads or those moving due to a sched_bind() are changing CPUs. Note that this is direct commit as ipi_cpu() only exists in CURRENT. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-15T15:55:58.692441Z K 7 svn:log V 542 MFC r212115: Fix a bug with sched_affinity() where it checks td_pinned of another thread in a racy manner, which can lead to attempting to migrate a thread that is pinned to a CPU. Instead, have sched_switch() determine which CPU a thread should run on if the current one is not allowed. KASSERT in sched_bind() that the thread is not yet pinned to a CPU. KASSERT in sched_switch() that only migratable threads or those moving due to a sched_bind() are changing CPUs. Note that this is direct commit as ipi_cpu() only exists in CURRENT. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-09-15T16:05:40.844980Z K 7 svn:log V 12422 MFC r209962, r211970-r211972, r212050, r212605, r212611 MFC r209962: Merge ZFS version 15 and almost all OpenSolaris bugfixes referenced in Solaris 10 updates 141445-09 and 142901-14. Detailed information: (OpenSolaris revisions and Bug IDs, Solaris 10 patch numbers) 7844:effed23820ae 6755435 zfs_open() and zfs_close() needs to use ZFS_ENTER/ZFS_VERIFY_ZP (141445-01) 7897:e520d8258820 6748436 inconsistent zpool.cache in boot_archive could panic a zfs root filesystem upon boot-up (141445-01) 7965:b795da521357 6740164 zpool attach can create an illegal root pool (141909-02) 8084:b811cc60d650 6769612 zpool_import() will continue to write to cachefile even if altroot is set (N/A) 8121:7fd09d4ebd9c 6757430 want an option for zdb to disable space map loading and leak tracking (141445-01) 8129:e4f45a0bfbb0 6542860 ASSERT: reason != VDEV_LABEL_REMOVE||vdev_inuse(vd, crtxg, reason, 0) (141445-01) 8188:fd00c0a81e80 6761100 want zdb option to select older uberblocks (141445-01) 8190:6eeea43ced42 6774886 zfs_setattr() won't allow ndmp to restore SUNWattr_rw (141445-01) 8225:59a9961c2aeb 6737463 panic while trying to write out config file if root pool import fails (141445-01) 8227:f7d7be9b1f56 6765294 Refactor replay (141445-01) 8228:51e9ca9ee3a5 6572357 libzfs should do more to avoid mnttab lookups (141909-01) 6572376 zfs_iter_filesystems and zfs_iter_snapshots get objset stats twice (141909-01) 8241:5a60f16123ba 6328632 zpool offline is a bit too conservative (141445-01) 6739487 ASSERT: txg <= spa_final_txg due to scrub/export race (141445-01) 6767129 ASSERT: cvd->vdev_isspare, in spa_vdev_detach() (141445-01) 6747698 checksum failures after offline -t / export / import / scrub (141445-01) 6745863 ZFS writes to disk after it has been offlined (141445-01) 6722540 50% slowdown on scrub/resilver with certain vdev configurations (141445-01) 6759999 resilver logic rewrites ditto blocks on both source and destination (141445-01) 6758107 I/O should never suspend during spa_load() (141445-01) 6776548 codereview(1) runs off the page when faced with multi-line comments (N/A) 6761406 AMD errata 91 workaround doesn't work on 64-bit systems (141445-01) 8242:e46e4b2f0a03 6770866 GRUB/ZFS should require physical path or devid, but not both (141445-01) 8269:03a7e9050cfd 6674216 "zfs share" doesn't work, but "zfs set sharenfs=on" does (141445-01) 6621164 $SRC/cmd/zfs/zfs_main.c seems to have a syntax error in the translation note (141445-01) 6635482 i18n problems in libzfs_dataset.c and zfs_main.c (141445-01) 6595194 "zfs get" VALUE column is as wide as NAME (141445-01) 6722991 vdev_disk.c: error checking for ddi_pathname_to_dev_t() must test for NODEV (141445-01) 6396518 ASSERT strings shouldn't be pre-processed (141445-01) 8274:846b39508aff 6713916 scrub/resilver needlessly decompress data (141445-01) 8343:655db2375fed 6739553 libzfs_status msgid table is out of sync (141445-01) 6784104 libzfs unfairly rejects numerical values greater than 2^63 (141445-01) 6784108 zfs_realloc() should not free original memory on failure (141445-01) 8525:e0e0e525d0f8 6788830 set large value to reservation cause core dump (141445-01) 6791064 want sysevents for ZFS scrub (141445-01) 6791066 need to be able to set cachefile on faulted pools (141445-01) 6791071 zpool_do_import() should not enable datasets on faulted pools (141445-01) 6792134 getting multiple properties on a faulted pool leads to confusion (141445-01) 8547:bcc7b46e5ff7 6792884 Vista clients cannot access .zfs (141445-01) 8632:36ef517870a3 6798384 It can take a village to raise a zio (141445-01) 8636:7e4ce9158df3 6551866 deadlock between zfs_write(), zfs_freesp(), and zfs_putapage() (141909-01) 6504953 zfs_getpage() misunderstands VOP_GETPAGE() interface (141909-01) 6702206 ZFS read/writer lock contention throttles sendfile() benchmark (141445-01) 6780491 Zone on a ZFS filesystem has poor fork/exec performance (141445-01) 6747596 assertion failed: DVA_EQUAL(BP_IDENTITY(&zio->io_bp_orig), BP_IDENTITY(zio->io_bp))); (141445-01) 8692:692d4668b40d 6801507 ZFS read aggregation should not mind the gap (141445-01) 8697:e62d2612c14d 6633095 creating a filesystem with many properties set is slow (141445-01) 8768:dfecfdbb27ed 6775697 oracle crashes when overwriting after hitting quota on zfs (141909-01) 8811:f8deccf701cf 6790687 libzfs mnttab caching ignores external changes (141445-01) 6791101 memory leak from libzfs_mnttab_init (141445-01) 8845:91af0d9c0790 6800942 smb_session_create() incorrectly stores IP addresses (N/A) 6582163 Access Control List (ACL) for shares (141445-01) 6804954 smb_search - shortname field should be space padded following the NULL terminator (N/A) 6800184 Panic at smb_oplock_conflict+0x35() (N/A) 8876:59d2e67b4b65 6803822 Reboot after replacement of system disk in a ZFS mirror drops to grub> prompt (141445-01) 8924:5af812f84759 6789318 coredump when issue zdb -uuuu poolname/ (141445-01) 6790345 zdb -dddd -e poolname coredump (141445-01) 6797109 zdb: 'zdb -dddddd pool_name/fs_name inode' coredump if the file with inode was deleted (141445-01) 6797118 zdb: 'zdb -dddddd poolname inum' coredump if I miss the fs name (141445-01) 6803343 shareiscsi=on failed, iscsitgtd failed request to share (141445-01) 9030:243fd360d81f 6815893 hang mounting a dataset after booting into a new boot environment (141445-01) 9056:826e1858a846 6809691 'zpool create -f' no longer overwrites ufs infomation (141445-01) 9179:d8fbd96b79b3 6790064 zfs needs to determine uid and gid earlier in create process (141445-01) 9214:8d350e5d04aa 6604992 forced unmount + being in .zfs/snapshot/ = not happy (141909-01) 6810367 assertion failed: dvp->v_flag & VROOT, file: ../../common/fs/gfs.c, line: 426 (141909-01) 9229:e3f8b41e5db4 6807765 ztest_dsl_dataset_promote_busy needs to clean up after ENOSPC (141445-01) 9230:e4561e3eb1ef 6821169 offlining a device results in checksum errors (141445-01) 6821170 ZFS should not increment error stats for unavailable devices (141445-01) 6824006 need to increase issue and interrupt taskqs threads in zfs (141445-01) 9234:bffdc4fc05c4 6792139 recovering from a suspended pool needs some work (141445-01) 6794830 reboot command hangs on a failed zfs pool (141445-01) 9246:67c03c93c071 6824062 System panicked in zfs_mount due to NULL pointer dereference when running btts and svvs tests (141909-01) 9276:a8a7fc849933 6816124 System crash running zpool destroy on broken zpool (141445-03) 9355:09928982c591 6818183 zfs snapshot -r is slow due to set_snap_props() doing txg_wait_synced() for each new snapshot (141445-03) 9391:413d0661ef33 6710376 log device can show incorrect status when other parts of pool are degraded (141445-03) 9396:f41cf682d0d3 (part already merged) 6501037 want user/group quotas on ZFS (141445-03) 6827260 assertion failed in arc_read(): hdr == pbuf->b_hdr (141445-03) 6815592 panic: No such hold X on refcount Y from zfs_znode_move (141445-03) 6759986 zfs list shows temporary %clone when doing online zfs recv (141445-03) 9404:319573cd93f8 6774713 zfs ignores canmount=noauto when sharenfs property != off (141445-03) 9412:4aefd8704ce0 6717022 ZFS DMU needs zero-copy support (141445-03) 9425:e7ffacaec3a8 6799895 spa_add_spares() needs to be protected by config lock (141445-03) 6826466 want to post sysevents on hot spare activation (141445-03) 6826468 spa 'allowfaulted' needs some work (141445-03) 6826469 kernel support for storing vdev FRU information (141445-03) 6826470 skip posting checksum errors from DTL regions of leaf vdevs (141445-03) 6826471 I/O errors after device remove probe can confuse FMA (141445-03) 6826472 spares should enjoy some of the benefits of cache devices (141445-03) 9443:2a96d8478e95 6833711 gang leaders shouldn't have to be logical (141445-03) 9463:d0bd231c7518 6764124 want zdb to be able to checksum metadata blocks only (141445-03) 9465:8372081b8019 6830237 zfs panic in zfs_groupmember() (141445-03) 9466:1fdfd1fed9c4 6833162 phantom log device in zpool status (141445-03) 9469:4f68f041ddcd 6824968 add ZFS userquota support to rquotad (141445-03) 9470:6d827468d7b5 6834217 godfather I/O should reexecute (141445-03) 9480:fcff33da767f 6596237 Stop looking and start ganging (141909-02) 9493:9933d599bc93 6623978 lwb->lwb_buf != NULL, file ../../../uts/common/fs/zfs/zil.c, line 787, function zil_lwb_commit (141445-06) 9512:64cafcbcc337 6801810 Commit of aligned streaming rewrites to ZIL device causes unwanted disk reads (N/A) 9515:d3b739d9d043 6586537 async zio taskqs can block out userland commands (142901-09) 9554:787363635b6a 6836768 zfs_userspace() callback has no way to indicate failure (N/A) 9574:1eb6a6ab2c57 6838062 zfs panics when an error is encountered in space_map_load() (141909-02) 9583:b0696cd037cc 6794136 Panic BAD TRAP: type=e when importing degraded zraid pool. (141909-03) 9630:e25a03f552e0 6776104 "zfs import" deadlock between spa_unload() and spa_async_thread() (141445-06) 9653:a70048a304d1 6664765 Unable to remove files when using fat-zap and quota exceeded on ZFS filesystem (141445-06) 9688:127be1845343 6841321 zfs userspace / zfs get userused@ doesn't work on mounted snapshot (N/A) 6843069 zfs get userused@S-1-... doesn't work (N/A) 9873:8ddc892eca6e 6847229 assertion failed: refcount_count(&tx->tx_space_written) + delta <= tx->tx_space_towrite in dmu_tx.c (141445-06) 9904:d260bd3fd47c 6838344 kernel heap corruption detected on zil while stress testing (141445-06) 9951:a4895b3dd543 6844900 zfs_ioc_userspace_upgrade leaks (N/A) 10040:38b25aeeaf7a 6857012 zfs panics on zpool import (141445-06) 10000:241a51d8720c 6848242 zdb -e no longer works as expected (N/A) 10100:4a6965f6bef8 6856634 snv_117 not booting: zfs_parse_bootfs: error2 (141445-07) 10160:a45b03783d44 6861983 zfs should use new name <-> SID interfaces (N/A) 6862984 userquota commands can hang (141445-06) 10299:80845694147f 6696858 zfs receive of incremental replication stream can dereference NULL pointer and crash (N/A) 10302:a9e3d1987706 6696858 zfs receive of incremental replication stream can dereference NULL pointer and crash (fix lint) (N/A) 10575:2a8816c5173b (partial merge) 6882227 spa_async_remove() shouldn't do a full clear (142901-14) 10800:469478b180d9 6880764 fsync on zfs is broken if writes are greater than 32kb on a hard crash and no log attached (142901-09) 6793430 zdb -ivvvv assertion failure: bp->blk_cksum.zc_word[2] == dmu_objset_id(zilog->zl_os) (N/A) 10801:e0bf032e8673 (partial merge) 6822816 assertion failed: zap_remove_int(ds_next_clones_obj) returns ENOENT (142901-09) 10810:b6b161a6ae4a 6892298 buf->b_hdr->b_state != arc_anon, file: ../../common/fs/zfs/arc.c, line: 2849 (142901-09) 10890:499786962772 6807339 spurious checksum errors when replacing a vdev (142901-13) 11249:6c30f7dfc97b 6906110 bad trap panic in zil_replay_log_record (142901-13) 6906946 zfs replay isn't handling uid/gid correctly (142901-13) 11454:6e69bacc1a5a 6898245 suspended zpool should not cause rest of the zfs/zpool commands to hang (142901-10) 11546:42ea6be8961b (partial merge) 6833999 3-way deadlock in dsl_dataset_hold_ref() and dsl_sync_task_group_sync() (142901-09) MFC r211970: Fix 'zfs allow' (maybe not only) returning: cannot access dataset system/usr/home: Operation not supported by including libzfs_impl.h. What libzfs_impl.h does is to redefine ioctl() to be compatible with OpenSolaris. More specifically OpenSolaris returns ENOMEM when buffer is too small and sets field zc_nvlist_dst_size to the size that will be big enough for the data. In FreeBSD case ioctl() doesn't copy data structure back in case of a failure. We work-around it in kernel and libzfs by returning 0 from ioctl() and always checking if zc_nvlist_dst_size hasn't changed. For this work-around to work in pyzfs we need this compatible ioctl() which is implemented in libzfs_impl.h. MFC r211971: Print errors on stderr. MFC r211972: Give user a hint what to do when /usr/lib/zfs/pyzfs.py is missing. MFC r212050: When upgrading a pool which contain root file system, give user a hint that he should update boot code. MFC r212605: Add missing vop_vector zfsctl_ops_shares Add missing locks around VOP_READDIR and VOP_GETATTR with z_shares_dir MFC r212611: Remove duplicated VFS_HOLD due to a mismerge. Approved by: delphij (mentor) Obtained from: OpenSolaris (multiple Bug IDs), Perforce (pjd) END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-09-15T16:05:51.335584Z K 7 svn:log V 85 MFp4 (//depot/projects/mps/...) Fix a typo. Submitted by: pluknet at gmail dot com END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-09-15T16:10:38.005970Z K 7 svn:log V 442 MFC r210398: Enable fake resolving of SMB RIDs by using nulldomain and UID_NOBODY - fixes panics when Solaris/OpenSolaris pools that contain files uploaded with the SMB protocol are accessed Enable seting/unsetting the sharesmb property (dummy action) - allows users who import pools from Solaris/Opensolaris to unset the sharesmb property and get rid of annoying messages PR: kern/145778, kern/148709 Approved by: pjd, delphij (mentor)) END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-09-15T16:14:38.175474Z K 7 svn:log V 601 MFC r211931: Update ZFS metaslab code from OpenSolaris. This provides a noticeable write speedup, especially on pools with less than 30% of free space. Detailed information (OpenSolaris onnv changesets and Bug IDs): 11146:7e58f40bcb1c 6826241 Sync write IOPS drops dramatically during TXG sync 6869229 zfs should switch to shiny new metaslabs more frequently 11728:59fdb3b856f6 6918420 zdb -m has issues printing metaslab statistics 12047:7c1fcc8419ca 6917066 zfs block picking can be improved Approved by: delphij (mentor) Obtained from: OpenSolaris (Bug ID 6826241, 6869229, 6918420, 6917066) END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-09-15T16:20:24.259270Z K 7 svn:log V 1484 MFC r211932, r211947, r211948: MFC r211932: Import changes from OpenSolaris that provide - better ACL caching and speedup of ACL permission checks - faster handling of stat() - lowered mutex contention in the read/writer lock (rrwlock) - several related bugfixes Detailed information (OpenSolaris onnv changesets and Bug IDs): 9749:105f407a2680 6802734 Support for Access Based Enumeration (not used on FreeBSD) 6844861 inconsistent xattr readdir behavior with too-small buffer 9866:ddc5f1d8eb4e 6848431 zfs with rstchown=0 or file_chown_self privilege allows user to "take" ownership 9981:b4907297e740 6775100 stat() performance on files on zfs should be improved 6827779 rrwlock is overly protective of its counters 10143:d2d432dfe597 6857433 memory leaks found at: zfs_acl_alloc/zfs_acl_node_alloc 6860318 truncate() on zfsroot succeeds when file has a component of its path set without access permission 10232:f37b85f7e03e 6865875 zfs sometimes incorrectly giving search access to a dir 10250:b179ceb34b62 6867395 zpool_upgrade_007_pos testcase panic'd with BAD TRAP: type=e (#pf Page fault) 10269:2788675568fd 6868276 zfs_rezget() can be hazardous when znode has a cached ACL 10295:f7a18a1e9610 6870564 panic in zfs_getsecattr MFC r211947: Move ZUT_OBJS in the same place that is used in vendor code. MFC r211948: Return NULL pointer instead of B_FALSE as it is done in the vendor code. Approved by: delphij (mentor) Obtained from: OpenSolaris (multiple Bug IDs) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-15T16:37:31.366506Z K 7 svn:log V 530 - Adds missing headers and renames wrong ones - Implements a local version of ether_set_broadcast() rather than relying on SV-crafted ETHER_SET_BROADCAST() (and dirtier in the implementation IMHO) - Fix another htonll() occurrence - Uses correct logic for VLANTAG detection in -CURRENT - Makes netdump nomore dependent by DEVICE_POLLING option. In order to do that I had to specify the enum poll_cmd and poll callbacks typedef also in !DEVICE_POLLING case, but I don't think this should be a problem - General compilation fix-ups END