svn commit: r213937 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-10-16 Thread Andriy Gapon
Author: avg Date: Sat Oct 16 20:43:05 2010 New Revision: 213937 URL: http://svn.freebsd.org/changeset/base/213937 Log: zfs: add vop_getpages method implementation This should make vnode_pager_getpages path a bit shorter and clearer. Also this should eliminate problems with partially

svn commit: r214096 - head/share/man/man9

2010-10-19 Thread Andriy Gapon
Author: avg Date: Wed Oct 20 05:57:54 2010 New Revision: 214096 URL: http://svn.freebsd.org/changeset/base/214096 Log: VOP_GETPAGES.9: clarify and correct description of parameters and requirements In cooperation with alc and kib, who provided valuable insights and suggestions.

svn commit: r214097 - in head: . share/man/man9

2010-10-20 Thread Andriy Gapon
Author: avg Date: Wed Oct 20 06:29:11 2010 New Revision: 214097 URL: http://svn.freebsd.org/changeset/base/214097 Log: catch up manual pages with rename of vm_page_sleep_busy to vm_page_sleep_if_busy Suggested by: alc MFC after:4 days Added:

svn commit: r214324 - head

2010-10-25 Thread Andriy Gapon
Author: avg Date: Mon Oct 25 07:39:05 2010 New Revision: 214324 URL: http://svn.freebsd.org/changeset/base/214324 Log: add dates along with revision numbers in UPDATING entry for 20100915 Modified: head/UPDATING Modified: head/UPDATING

Re: svn commit: r214506 - head/lib/libthr/thread

2010-10-30 Thread Andriy Gapon
if (oact != NULL) + oldact = _thr_sigact[sig-1].sigact; } _thr_rwl_unlock(_thr_sigact[sig-1].lock); -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head

svn commit: r214774 - in head/sys: amd64/amd64 i386/i386

2010-11-04 Thread Andriy Gapon
Author: avg Date: Thu Nov 4 08:51:45 2010 New Revision: 214774 URL: http://svn.freebsd.org/changeset/base/214774 Log: x86 topo_probe: do not probe smp topology if only one cpu is visible This could lead to a division by zero if hardware is multi-core and/or multi-threaded, but for some

Re: svn commit: r214817 - head/sys/teken

2010-11-05 Thread Andriy Gapon
in the past remain unnoticed and thus they've gotten tired of reporting issues and submitting patches if nobody seems to care? ;) Pity that they haven't discovered the mailing lists. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http

svn commit: r215131 - head/sys/x86/cpufreq

2010-11-11 Thread Andriy Gapon
Author: avg Date: Thu Nov 11 17:30:49 2010 New Revision: 215131 URL: http://svn.freebsd.org/changeset/base/215131 Log: make it possible to actually enable hwpstate_verbose Either via the tunable or the sysctl. MFC after:3 days Modified: head/sys/x86/cpufreq/hwpstate.c

svn commit: r215133 - in head: lib/libkvm sys/amd64/amd64 sys/amd64/include

2010-11-11 Thread Andriy Gapon
Author: avg Date: Thu Nov 11 18:35:28 2010 New Revision: 215133 URL: http://svn.freebsd.org/changeset/base/215133 Log: amd64: introduce minidump version 2 After KVA space was increased to 512GB on amd64 it became impractical to use PTEs as entries in the minidump map of dumped pages,

Re: svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Andriy Gapon
[]; } \ } while(0) +#endif /* _KERNEL */ + /* * XXXUPS remove as soon as we have per cpu variable * linker sets and can define rm_queue in _rm_lock.h -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Andriy Gapon
on 11/11/2010 21:37 Dimitry Andric said the following: On 2010-11-11 20:29, Andriy Gapon wrote: Do I understand it correctly that set_pcpu section itself would not be produced if DPCPU_DEFINE() is not actually used? Yes, although currently this does not occur in any kernel module (I tested

Re: svn commit: r215212 - head/sys/net

2010-11-13 Thread Andriy Gapon
)vnet_entry_##n #define VNET_DECLARE(t, n) extern t VNET_NAME(n) #define VNET_DEFINE(t, n) t VNET_NAME(n) __section(VNET_SETNAME) __used -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http

svn commit: r215397 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-11-16 Thread Andriy Gapon
Author: avg Date: Tue Nov 16 12:30:47 2010 New Revision: 215397 URL: http://svn.freebsd.org/changeset/base/215397 Log: fix misspelling in a comment Reported by: Daniel Braniss da...@cs.huji.ac.il MFC after:3 days Modified:

svn commit: r215398 - head/sys/x86/cpufreq

2010-11-16 Thread Andriy Gapon
Author: avg Date: Tue Nov 16 12:43:45 2010 New Revision: 215398 URL: http://svn.freebsd.org/changeset/base/215398 Log: hwpstate: use CPU_FOREACH when binding to all available processors Also, add a comment mentioning _PSD - on some systems it's enough to put one logical CPU into a

svn commit: r215401 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-11-16 Thread Andriy Gapon
Author: avg Date: Tue Nov 16 15:53:44 2010 New Revision: 215401 URL: http://svn.freebsd.org/changeset/base/215401 Log: zfs+sendfile: populate all requested pages, not just those already cached kern_sendfile() uses vm_rdwr() to read-ahead blocks of data to populate page cache. When

svn commit: r215522 - in head/sys: amd64/include i386/include

2010-11-19 Thread Andriy Gapon
Author: avg Date: Fri Nov 19 14:46:17 2010 New Revision: 215522 URL: http://svn.freebsd.org/changeset/base/215522 Log: specialreg.h: add definition for AMD Core Performance Boost bit This bit indicates availability of the feature. MFC after:4 days Modified:

svn commit: r215750 - head/sys/kern

2010-11-23 Thread Andriy Gapon
Author: avg Date: Tue Nov 23 14:30:22 2010 New Revision: 215750 URL: http://svn.freebsd.org/changeset/base/215750 Log: taskqueue: drop unused tq_name field tq_name was used write-only and besides it was just a pointer, so it could point to some garbage in a temporary buffer that's gone.

svn commit: r215751 - head/sys/x86/x86

2010-11-23 Thread Andriy Gapon
Author: avg Date: Tue Nov 23 14:36:14 2010 New Revision: 215751 URL: http://svn.freebsd.org/changeset/base/215751 Log: x86/local_apic: use newly added ARAT bit definition ARAT: APIC-Timer-always-running feature. Suggested by: mav MFC after:12 days Modified:

Re: svn commit: r216143 - in head: share/man/man9 sys/amd64/include sys/arm/include sys/i386/include sys/ia64/include sys/mips/include sys/pc98/include sys/powerpc/include sys/sparc64/include sys/sun4

2010-12-03 Thread Andriy Gapon
be devised. Surprising that do-while doesn't work. I think GCC extension that allows to put statements inside expressions could help here: http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html#Statement-Exprs I think that we already use the extension in some places. -- Andriy Gapon

Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-12-06 Thread Andriy Gapon
sector, but drive supports data addressing with 512 byte granularity. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

svn commit: r216250 - in head/sys/cddl/dev/dtrace: amd64 i386

2010-12-07 Thread Andriy Gapon
Author: avg Date: Tue Dec 7 09:03:17 2010 New Revision: 216250 URL: http://svn.freebsd.org/changeset/base/216250 Log: dtrace_gethrtime_init: pin to master while examining other CPUs Also use pc_cpumask to be future-friendly. Reviewed by: jhb MFC after:2 weeks Modified:

svn commit: r216251 - in head/sys/cddl/dev/dtrace: amd64 i386

2010-12-07 Thread Andriy Gapon
Author: avg Date: Tue Dec 7 09:19:47 2010 New Revision: 216251 URL: http://svn.freebsd.org/changeset/base/216251 Log: dtrace_xcall: no need for special handling of curcpu smp_rendezvous_cpus alreadt does the right thing in a very similar fashion, so the code was kind of duplicating

Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-12-07 Thread Andriy Gapon
to) know we track boundaries are. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

svn commit: r216252 - head/sys/cddl/dev/cyclic/i386

2010-12-07 Thread Andriy Gapon
Author: avg Date: Tue Dec 7 12:04:06 2010 New Revision: 216252 URL: http://svn.freebsd.org/changeset/base/216252 Log: opensolaris cyclic xcall: no need for special handling of curcpu smp_rendezvous_cpus already properly handles current CPU case and non-SMP case. MFC after:3

svn commit: r216254 - in head/sys/cddl: compat/opensolaris/sys dev/cyclic

2010-12-07 Thread Andriy Gapon
Author: avg Date: Tue Dec 7 12:25:26 2010 New Revision: 216254 URL: http://svn.freebsd.org/changeset/base/216254 Log: opensolaris cyclic: fix deadlock and make a little bit closer to upstream The dealock was caused in the following way: - thread T1 on CPU C1 holds a spin mutex, IPIs CPU

Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-12-07 Thread Andriy Gapon
on 07/12/2010 14:10 Erik Trulsson said the following: On Tue, Dec 07, 2010 at 01:57:04PM +0200, Andriy Gapon wrote: And another reason is that modern drives do not actually report any CHS parameters, so I don't even know where we get them and how we (pretend to) know we track boundaries

Re: svn commit: r216269 - head/sys/geom/part

2010-12-07 Thread Andriy Gapon
. The fact that we keep reading and interpreting some historically defined bytes that are now marked as unused/reserved doesn't mean that those bytes actually mean anything. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org

Re: svn commit: r216269 - head/sys/geom/part

2010-12-07 Thread Andriy Gapon
on 08/12/2010 00:05 Matthew Jacob said the following: On 12/7/2010 1:54 PM, Andriy Gapon wrote: on 07/12/2010 22:46 Bruce Cran said the following: Don't warn if a partition appears not to be aligned on a track boundary. Modern disks use LBA and create a fake CHS geometry that doesn't

Re: svn commit: r216269 - head/sys/geom/part

2010-12-07 Thread Andriy Gapon
, Andriy Gapon wrote: on 08/12/2010 00:05 Matthew Jacob said the following: On 12/7/2010 1:54 PM, Andriy Gapon wrote: on 07/12/2010 22:46 Bruce Cran said the following: Don't warn if a partition appears not to be aligned on a track boundary. Modern disks use LBA and create a fake CHS

Re: svn commit: r216269 - head/sys/geom/part

2010-12-07 Thread Andriy Gapon
that, right? :) -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

Re: svn commit: r216337 - head/sys/x86/x86

2010-12-09 Thread Andriy Gapon
; break; case CPU_VENDOR_INTEL: -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

Re: svn commit: r216269 - head/sys/geom/part

2010-12-09 Thread Andriy Gapon
position and I am sticking to it :-) -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

Re: svn commit: r216269 - head/sys/geom/part

2010-12-09 Thread Andriy Gapon
on 10/12/2010 00:55 Kostik Belousov said the following: On Fri, Dec 10, 2010 at 12:36:57AM +0200, Andriy Gapon wrote: on 10/12/2010 00:14 Bruce Cran said the following: Since it appears that disks are still using the CHS fields despite having been obsolete since ATA-7 I guess it makes sense

Re: svn commit: r216269 - head/sys/geom/part

2010-12-10 Thread Andriy Gapon
on 10/12/2010 03:10 Erik Trulsson said the following: On Fri, Dec 10, 2010 at 12:36:57AM +0200, Andriy Gapon wrote: on 10/12/2010 00:14 Bruce Cran said the following: Since it appears that disks are still using the CHS fields despite having been obsolete since ATA-7 I guess it makes sense

svn commit: r216373 - head/sys/dev/cxgb/ulp/tom

2010-12-11 Thread Andriy Gapon
Author: avg Date: Sat Dec 11 10:14:08 2010 New Revision: 216373 URL: http://svn.freebsd.org/changeset/base/216373 Log: fix incorrect use of atomic_set_xxx in cxgb There is no need to use an atomic operation at structure initialization time. Note that the file changed is not connected

svn commit: r216375 - head/sys/mips/rmi/dev/xlr

2010-12-11 Thread Andriy Gapon
Author: avg Date: Sat Dec 11 10:21:38 2010 New Revision: 216375 URL: http://svn.freebsd.org/changeset/base/216375 Log: fix atomic_set_xxx misuse in rge It seems that atomic_set_xxx and atomic_store_xxx were confused. Reviewed by: jhb (general issue) MFC after:3 weeks Modified:

Re: svn commit: r216375 - head/sys/mips/rmi/dev/xlr

2010-12-11 Thread Andriy Gapon
on 11/12/2010 12:21 Andriy Gapon said the following: Author: avg Date: Sat Dec 11 10:21:38 2010 New Revision: 216375 URL: http://svn.freebsd.org/changeset/base/216375 Log: fix atomic_set_xxx misuse in rge It seems that atomic_set_xxx and atomic_store_xxx were confused. Please

svn commit: r216376 - head/sys/dev/acpi_support

2010-12-11 Thread Andriy Gapon
Author: avg Date: Sat Dec 11 10:55:18 2010 New Revision: 216376 URL: http://svn.freebsd.org/changeset/base/216376 Log: acpi_fujitsu: update for P8010 PR: kern/121102 Submitted by: Anish Mistry amis...@am-productions.biz MFC after:3 weeks Modified:

svn commit: r216408 - head/sys/mips/rmi/dev/xlr

2010-12-13 Thread Andriy Gapon
Author: avg Date: Mon Dec 13 14:30:35 2010 New Revision: 216408 URL: http://svn.freebsd.org/changeset/base/216408 Log: fix mips build breakage introduced in r216375: atomic_store_int doesn't exists 1) 32-bit assignment are expected to always be atomic. 2) Release/acquire memory barrier

svn commit: r216503 - head/sys/dev/acpica

2010-12-17 Thread Andriy Gapon
Author: avg Date: Fri Dec 17 16:21:30 2010 New Revision: 216503 URL: http://svn.freebsd.org/changeset/base/216503 Log: small cleanup of acpi battery status setting and checking This is based on the patch submitted by Yuri Skripachov. Overview of the changes: - clarify double-use of

svn commit: r216505 - head/sys/cddl/dev/cyclic/i386

2010-12-17 Thread Andriy Gapon
Author: avg Date: Fri Dec 17 18:22:50 2010 New Revision: 216505 URL: http://svn.freebsd.org/changeset/base/216505 Log: cyclic xcall: use smp_no_rendevous_barrier as setup function parameter In this case we call target function only on a single CPU and do not need any synchronization at

Re: svn commit: r240026 - head/sys/kern

2012-09-02 Thread Andriy Gapon
you meant CTLFLAG_RW | CTLFLAG_TUN -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

Re: svn commit: r239587 - head/sys/kern

2012-09-05 Thread Andriy Gapon
-- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

svn commit: r240339 - head/crypto/openssl/crypto

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 06:10:49 2012 New Revision: 240339 URL: http://svn.freebsd.org/changeset/base/240339 Log: openssl: change SHLIB_VERSION_NUMBER to reflect the reality Note: I timed out waiting for an exp-run for this change but I survived having it locally for quite a long

svn commit: r240340 - head/share/man/man4

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 06:14:03 2012 New Revision: 240340 URL: http://svn.freebsd.org/changeset/base/240340 Log: acpi.4: machdep.cpu_idle_hlt no longer exists MFC after:1 week Modified: head/share/man/man4/acpi.4 Modified: head/share/man/man4/acpi.4

svn commit: r240342 - head/sys/boot/common

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 06:18:36 2012 New Revision: 240342 URL: http://svn.freebsd.org/changeset/base/240342 Log: boot: file_loadraw should strdup name argument ... the same way it's done for type argument. MFC after:2 weeks Modified: head/sys/boot/common/module.c

svn commit: r240344 - head/sys/dev/acpica

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 06:26:20 2012 New Revision: 240344 URL: http://svn.freebsd.org/changeset/base/240344 Log: acpi_cpu: free result of device_get_children MFC after:1 week Modified: head/sys/dev/acpica/acpi_cpu.c Modified: head/sys/dev/acpica/acpi_cpu.c

svn commit: r240345 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:07:52 2012 New Revision: 240345 URL: http://svn.freebsd.org/changeset/base/240345 Log: zfs: fix sa_modify_attrs handling of variable-sized attributes - skip length_idx index for a replaced variable-sized attribute - skip length_idx index for a removed

svn commit: r240346 - head/sys/boot/zfs

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:11:32 2012 New Revision: 240346 URL: http://svn.freebsd.org/changeset/base/240346 Log: zfs boot: bring zap_leaf_chunk field names in sync with kernel code This change is cosmetic. MFC after:10 days Modified: head/sys/boot/zfs/zfs.c

svn commit: r240347 - head/sys/boot/zfs

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:12:48 2012 New Revision: 240347 URL: http://svn.freebsd.org/changeset/base/240347 Log: zfs boot: fix/replace fzap_rlookup implementation The previous one was totally bogus as it used hash value of _output_ variable as an index for searching... The only

svn commit: r240348 - head/sys/boot/zfs

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:13:58 2012 New Revision: 240348 URL: http://svn.freebsd.org/changeset/base/240348 Log: zfs boot: print only an attribute name in fzap_list ... this matches mzap_list behavior MFC after:12 days Modified: head/sys/boot/zfs/zfsimpl.c Modified:

svn commit: r240349 - head/sys/boot/zfs

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:15:11 2012 New Revision: 240349 URL: http://svn.freebsd.org/changeset/base/240349 Log: zfs boot: add a size check for a value in fzap_lookup MFC after:25 days Modified: head/sys/boot/zfs/zfsimpl.c Modified: head/sys/boot/zfs/zfsimpl.c

svn commit: r240356 - head/sys/cddl/boot/zfs

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 08:45:49 2012 New Revision: 240356 URL: http://svn.freebsd.org/changeset/base/240356 Log: forgotten file from r240346 Pointyhat to: avg MFC after:10 days X-MFC with: r240346 Modified: head/sys/cddl/boot/zfs/zfsimpl.h Modified:

svn commit: r240367 - head/sys/dev/acpica

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 17:21:25 2012 New Revision: 240367 URL: http://svn.freebsd.org/changeset/base/240367 Log: revert r240344: cpu_devices[] is used in other functions and must be kept Reported by: gjb, glebius Pointyhat to: avg MFC after:1 day X-MFC note: fake MFC,

svn commit: r240513 - head/sys/kern

2012-09-14 Thread Andriy Gapon
Author: avg Date: Fri Sep 14 19:55:28 2012 New Revision: 240513 URL: http://svn.freebsd.org/changeset/base/240513 Log: sched_ule: fix inverted condition in reporting of priority lending via ktr Reviewed by: kan MFC after:1 week Modified: head/sys/kern/sched_ule.c Modified:

svn commit: r240629 - head/sys/geom

2012-09-18 Thread Andriy Gapon
Author: avg Date: Tue Sep 18 07:57:34 2012 New Revision: 240629 URL: http://svn.freebsd.org/changeset/base/240629 Log: g_disk_flushcache definitely should not be traced under G_T_TOPOLOGY ... use G_T_BIO instead MFC after:1 week Modified: head/sys/geom/geom_disk.c Modified:

svn commit: r240631 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2012-09-18 Thread Andriy Gapon
Author: avg Date: Tue Sep 18 08:00:56 2012 New Revision: 240631 URL: http://svn.freebsd.org/changeset/base/240631 Log: zfs: allow both DEBUG and ZFS_DEBUG to be defined on command line Discussed with: pjd MFC after:10 days Modified:

svn commit: r240632 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-09-18 Thread Andriy Gapon
Author: avg Date: Tue Sep 18 08:02:54 2012 New Revision: 240632 URL: http://svn.freebsd.org/changeset/base/240632 Log: zfs: correctly calculate dn_bonuslen for saving SAs to disk Since all attribute values start at 8-byte aligned boundary, we would previously incorrectly calculate

svn commit: r240634 - head/sys/dev/acpica

2012-09-18 Thread Andriy Gapon
Author: avg Date: Tue Sep 18 08:17:29 2012 New Revision: 240634 URL: http://svn.freebsd.org/changeset/base/240634 Log: acpi_cpu: explicitly notify userland about c-state changes ... after they are committed. A notification is sent per CPU. Reviewed by: imp MFC after:3 weeks

svn commit: r240637 - head/sys/boot/i386/loader

2012-09-18 Thread Andriy Gapon
Author: avg Date: Tue Sep 18 08:53:11 2012 New Revision: 240637 URL: http://svn.freebsd.org/changeset/base/240637 Log: loader/i386: replace ugly inb/outb re-implementations with cpufunc.h Use of __builtin_constant_p in a function that is only called via a pointer is a good example of how

svn commit: r240650 - head/sys/dev/hwpmc

2012-09-18 Thread Andriy Gapon
Author: avg Date: Tue Sep 18 13:33:39 2012 New Revision: 240650 URL: http://svn.freebsd.org/changeset/base/240650 Log: hwpmc amd_pcpu_fini: fix a bug in code locked under DEBUG MFC after:16 days Modified: head/sys/dev/hwpmc/hwpmc_amd.c Modified: head/sys/dev/hwpmc/hwpmc_amd.c

svn commit: r240831 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-09-22 Thread Andriy Gapon
Author: avg Date: Sat Sep 22 17:42:53 2012 New Revision: 240831 URL: http://svn.freebsd.org/changeset/base/240831 Log: zfs: allow a zvol to be used as a pool vdev, again Do this by checking if spa_namespace_lock is already held and not taking it again in that case. Add a comment

Re: svn commit: r240773 - in head/sys: amd64/amd64 i386/i386

2012-09-25 Thread Andriy Gapon
on 09/25/12 19:14 Dimitry Andric said the following: Are we interested more in beautifying, than giving unambiguous information? OTOH, I have never seen CPUID numbers in decimal. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http

svn commit: r241225 - head/sys/sys

2012-10-05 Thread Andriy Gapon
Author: avg Date: Fri Oct 5 14:42:38 2012 New Revision: 241225 URL: http://svn.freebsd.org/changeset/base/241225 Log: mount.h: MNTK_VGONE_UPPER and MNTK_VGONE_WAITER were supposed to be different ... otherwise a waiter is never woken up. Reported by: swills Discussed with:

svn commit: r241280 - head/usr.bin/make

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:19:32 2012 New Revision: 241280 URL: http://svn.freebsd.org/changeset/base/241280 Log: make: report :M or :N pattern in debug mode MFC after:12 days Modified: head/usr.bin/make/var.c Modified: head/usr.bin/make/var.c

svn commit: r241281 - head/sys/kern

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:23:44 2012 New Revision: 241281 URL: http://svn.freebsd.org/changeset/base/241281 Log: ktrace/kern_exec: check p_tracecred instead of p_cred .. when deciding whether to continue tracing across suid/sgid exec. Otherwise if root ktrace-d an unprivileged

svn commit: r241282 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:25:40 2012 New Revision: 241282 URL: http://svn.freebsd.org/changeset/base/241282 Log: zfs boot: chose a first pool if none is explicitly requested MFC after:8 days Modified: head/sys/boot/zfs/zfs.c Modified: head/sys/boot/zfs/zfs.c

svn commit: r241283 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:27:04 2012 New Revision: 241283 URL: http://svn.freebsd.org/changeset/base/241283 Log: zfs boot: add code for listing child datasets of a given dataset - only filesystem datasets are supported - children names are printed to stdout To do: allow to

svn commit: r241284 - head/sys/boot/i386/loader

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:27:54 2012 New Revision: 241284 URL: http://svn.freebsd.org/changeset/base/241284 Log: zfs boot: add lszfs command to i386 loader ... to list child datasets of a specified dataset. Dataset name should be provided in poolname/dsname format. MFC after:

svn commit: r241286 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:33:47 2012 New Revision: 241286 URL: http://svn.freebsd.org/changeset/base/241286 Log: zfs_mount: taste geom providers for root pool config This should allow to mount a dataset as a root filesystem even if it belongs to a pool that is not described in

svn commit: r241288 - head/sys/boot/i386/zfsboot

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:38:33 2012 New Revision: 241288 URL: http://svn.freebsd.org/changeset/base/241288 Log: zfsboot: use the same zfs dataset naming format as loader Also, pool name alone now names a root dataset of the pool regardless of bootfs property value. MFC after:

svn commit: r241289 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:40:12 2012 New Revision: 241289 URL: http://svn.freebsd.org/changeset/base/241289 Log: boot/zfs: call zfs_spa_init for all found pools ... and drop those for which it fails. Also, add more sanity checking to the function. MFC after:16 days

svn commit: r241290 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:41:11 2012 New Revision: 241290 URL: http://svn.freebsd.org/changeset/base/241290 Log: boot/zfs: a small whitespace cleanup MFC after:5 days Modified: head/sys/boot/zfs/zfs.c Modified: head/sys/boot/zfs/zfs.c

svn commit: r241291 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:42:05 2012 New Revision: 241291 URL: http://svn.freebsd.org/changeset/base/241291 Log: zfs boot spa_status: print bootfs for each reported pool MFC after:9 days Modified: head/sys/boot/zfs/zfsimpl.c Modified: head/sys/boot/zfs/zfsimpl.c

svn commit: r241292 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:42:50 2012 New Revision: 241292 URL: http://svn.freebsd.org/changeset/base/241292 Log: zfs loader: treat plain pool name as a name of its root dataset ... as opposed to the previous behavior of treating it as boot dataset (specified by bootfs or default)

svn commit: r241293 - in head/sys/boot: i386/loader i386/zfsboot zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:47:24 2012 New Revision: 241293 URL: http://svn.freebsd.org/changeset/base/241293 Log: zfs boot: export boot/primary pool and vdev guid all the way to kenv This is work in progress to for znextboot and it also provides some convenient infrastructure.

svn commit: r241294 - head/sys/boot/i386/zfsboot

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:48:15 2012 New Revision: 241294 URL: http://svn.freebsd.org/changeset/base/241294 Log: zfsboot: simplify probe_drive() a little bit The first discovered pool, whether it covers the whole boot disk or not, is going to be first in zfs_pools list. So there

svn commit: r241295 - head/sys/kern

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:50:23 2012 New Revision: 241295 URL: http://svn.freebsd.org/changeset/base/241295 Log: cngetc: use cpu_spinwait to ease the cncheckc loop a tiny bit Reviewed by: julian MFC after:10 days Modified: head/sys/kern/kern_cons.c Modified:

svn commit: r241296 - head/sys/geom/part

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:52:50 2012 New Revision: 241296 URL: http://svn.freebsd.org/changeset/base/241296 Log: g_part_taste: directly destroy consumer and geom here, no need for withering Besides withered but still alive consumers may interfere with re-tatsing. MFC after:

svn commit: r241297 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:57:27 2012 New Revision: 241297 URL: http://svn.freebsd.org/changeset/base/241297 Log: zvol: set mediasize in geom provider right upon its creation ... instead of deferring the action until first open. Unlike upstream this has no benefit on FreeBSD. We

svn commit: r241299 - head/sys/boot/common

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:01:17 2012 New Revision: 241299 URL: http://svn.freebsd.org/changeset/base/241299 Log: boot/console: handle consoles that fail to probe - clarify meaning of console flags - perform i/o via a console only if both of the following conditions are met: o

svn commit: r241300 - head/sys/boot/i386/libi386

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:04:51 2012 New Revision: 241300 URL: http://svn.freebsd.org/changeset/base/241300 Log: i386 comconsole: don't loop forever if hardware doesn't respond - clear capability flags when hw timeouts - retire comc_started status variable and directly use c_flags

svn commit: r241301 - in head/sys/boot/i386: boot2 btx/btx gptboot zfsboot

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:08:29 2012 New Revision: 241301 URL: http://svn.freebsd.org/changeset/base/241301 Log: add detection of serial console presence to btx and boot2-like blocks Note that this commit slightly increases size of boot blocks. Reviewed by: jhb Tested by:

svn commit: r241302 - head/lib/libkvm

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:12:24 2012 New Revision: 241302 URL: http://svn.freebsd.org/changeset/base/241302 Log: kvm_proclist: ignore processes in larvae state Reviewed by: jhb MFC after:8 days Modified: head/lib/libkvm/kvm_proc.c Modified: head/lib/libkvm/kvm_proc.c

svn commit: r241303 - head/lib/libkvm

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:16:04 2012 New Revision: 241303 URL: http://svn.freebsd.org/changeset/base/241303 Log: kvm_getprocs: gracefully handle errors from kvm_deadprocs and don't confuse callers with incorrect return value MFC after:9 days Modified:

svn commit: r241304 - head/lib/libprocstat

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:17:28 2012 New Revision: 241304 URL: http://svn.freebsd.org/changeset/base/241304 Log: procstat_getprocs: honor kvm_getprocs interface - cnt is signed MFC after:10 days Modified: head/lib/libprocstat/libprocstat.c Modified:

svn commit: r241305 - head/sys/cam/ata

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 21:42:07 2012 New Revision: 241305 URL: http://svn.freebsd.org/changeset/base/241305 Log: ata_da: set disk::d_ident from serial number MFC after:10 days Modified: head/sys/cam/ata/ata_da.c Modified: head/sys/cam/ata/ata_da.c

svn commit: r241349 - head/sys/netinet6

2012-10-08 Thread Andriy Gapon
Author: avg Date: Mon Oct 8 13:45:40 2012 New Revision: 241349 URL: http://svn.freebsd.org/changeset/base/241349 Log: ip6_ipsec_output: fix a typo in r241344 Acting as a remote drone of glebius. Modified: head/sys/netinet6/ip6_ipsec.c Modified: head/sys/netinet6/ip6_ipsec.c

svn commit: r241538 - head/sys/dev/acpica

2012-10-14 Thread Andriy Gapon
Author: avg Date: Sun Oct 14 09:32:38 2012 New Revision: 241538 URL: http://svn.freebsd.org/changeset/base/241538 Log: acpi_thermal: when _ACx is tripped, all _ALi i= x should be on ... and not just _ALx as it is now. MFC after:20 days Modified:

svn commit: r241540 - in head/sys: amd64/pci i386/pci

2012-10-14 Thread Andriy Gapon
Author: avg Date: Sun Oct 14 10:13:50 2012 New Revision: 241540 URL: http://svn.freebsd.org/changeset/base/241540 Log: pciereg_cfg*: use assembly to access the mem-mapped cfg space AMD BKDG for CPU families 10h and later requires that the memory mapped config is always read into or

Re: svn commit: r241556 - in head/sys: kern sys

2012-10-15 Thread Andriy Gapon
recursion back into the filesystem code when it is written in such a way that (1) it must hold internal locks around getnewvnode call and (2) it doesn't handle well calls to vop_inactive/vop_reclaim when the said internal locks are already held. -- Andriy Gapon

svn commit: r241628 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-10-17 Thread Andriy Gapon
Author: avg Date: Wed Oct 17 10:59:56 2012 New Revision: 241628 URL: http://svn.freebsd.org/changeset/base/241628 Log: zfs: make use of getnewvnode_reserve in zfs_mknode and zfs_zget getnewvnode_reserve helps to avoid recursing back into zfs code via getnewvnode when that latter needs to

Re: svn commit: r237656 - in head: contrib/top usr.bin/top

2012-10-17 Thread Andriy Gapon
; Good catch! Indeed. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

svn commit: r241772 - head/sbin/devd

2012-10-20 Thread Andriy Gapon
Author: avg Date: Sat Oct 20 09:40:34 2012 New Revision: 241772 URL: http://svn.freebsd.org/changeset/base/241772 Log: document acpi_cpu devd notification about _CST change Based on prodding and a submission by Lars Engels lars.eng...@0x20.net. MFC after:5 days Modified:

svn commit: r241785 - in head/sys/boot: efi ficl i386 userboot/ficl zfs

2012-10-20 Thread Andriy Gapon
Author: avg Date: Sat Oct 20 16:57:23 2012 New Revision: 241785 URL: http://svn.freebsd.org/changeset/base/241785 Log: boot: use -march=i386 for both i386 and amd64 builds .. so that consistent compilation algorithms are used for both architectures as in practice the binaries are

svn commit: r242135 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-10-26 Thread Andriy Gapon
Author: avg Date: Fri Oct 26 14:50:16 2012 New Revision: 242135 URL: http://svn.freebsd.org/changeset/base/242135 Log: zfs: fix label validation code in vdev_geom_read_config POOL_STATE_SPARE and POOL_STATE_L2CACHE were not handled correctly and thus the cache and spare disks would not

Re: svn commit: r242314 - head/sys/geom/raid

2012-10-29 Thread Andriy Gapon
zfs_modevent(MOD_UNLOAD) does should also be done in one of the shutdown hooks? Maybe at the start of shutdown_post_sync (so that it is run before the hooks of lower level drivers like graid)? -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list

svn commit: r208293 - head/sys/ufs/ffs

2010-05-19 Thread Andriy Gapon
Author: avg Date: Wed May 19 09:32:11 2010 New Revision: 208293 URL: http://svn.freebsd.org/changeset/base/208293 Log: ffs_mount: accept and drop userland-only options that can be passed from loader(8) In r193192 loader(8) has grown an ability to pass root mount options from fstab via

svn commit: r208610 - head/sys/boot/zfs

2010-05-28 Thread Andriy Gapon
Author: avg Date: Fri May 28 07:34:20 2010 New Revision: 208610 URL: http://svn.freebsd.org/changeset/base/208610 Log: boot/zfs: fix gang block reading code - use correct size (512) while reading a gang block - skip holes while reading child blocks - advance buffer pointer while

svn commit: r208670 - head/sys/dev/amdsbwd

2010-05-31 Thread Andriy Gapon
Author: avg Date: Mon May 31 09:07:23 2010 New Revision: 208670 URL: http://svn.freebsd.org/changeset/base/208670 Log: amdsbwd: fix nonsensical timeout calculations in case when sub-second interval is being programmed Found by: clang static analyzer MFC after:4 days

  1   2   3   4   5   6   7   8   9   10   >