Re: svn commit: r216263 - head/sys/dev/acpica

2010-12-07 Thread Alexander Motin
Alexey Dokuchaev wrote: > On Tue, Dec 07, 2010 at 06:49:11PM +, John Baldwin wrote: >> Author: jhb >> Date: Tue Dec 7 18:49:11 2010 >> New Revision: 216263 >> URL: http://svn.freebsd.org/changeset/base/216263 >> >> Log: >> Use proper resource ID's for HPET IRQ resources. This mostly consist

Re: svn commit: r216284 - head/sys/dev/usb/net

2010-12-07 Thread Hans Petter Selasky
On Wednesday 08 December 2010 02:24:05 Pyun YongHyeon wrote: > - if (m->m_pkthdr.len > MCLBYTES) { > - m->m_pkthdr.len = MCLBYTES; > - } You are sure that no packets passed to this code is bigger than MCLBYTES minus overhea

svn commit: r216288 - head/share/man/man5

2010-12-07 Thread Hiroki Sato
Author: hrs Date: Wed Dec 8 07:10:25 2010 New Revision: 216288 URL: http://svn.freebsd.org/changeset/base/216288 Log: Fix a typo. Submitted by: Garrett Cooper Modified: head/share/man/man5/rc.conf.5 Modified: head/share/man/man5/rc.conf.5 ===

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

2010-12-07 Thread Bruce Evans
On Wed, 8 Dec 2010, Andriy Gapon wrote: on 08/12/2010 01:11 Matthew Jacob said the following: Geometry is still important. Trying booting a USB flash drive on all BIOS' with a 63/255 geometry instead of a 64/32 geometry. Well, I don't know anything about USB... My point about modern HDDs sti

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

2010-12-07 Thread Bruce Evans
On Tue, 7 Dec 2010, Bruce Cran wrote: On Tue, 07 Dec 2010 23:54:17 +0200 Andriy Gapon wrote: You repeated that statement, so I am picking on you :-) Can someone show me how/where exactly modern drives fakes CHS geometry? Let me specifically ask that question about modern (S)ATA drives directl

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

2010-12-07 Thread Bruce Evans
On Wed, 8 Dec 2010, 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

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

2010-12-07 Thread Bruce Evans
On Tue, 7 Dec 2010, Doug Barton wrote: On 12/07/2010 03:51, Bruce Cran wrote: From a new installation of Windows 7 and FreeBSD CURRENT: GEOM: ada0: partition 3 does not start on a track boundary. GEOM: ada0: partition 3 does not end on a track boundary. GEOM: ada0: partition 2 does not start

svn commit: r216285 - head/usr.sbin/cxgbtool

2010-12-07 Thread Kevin Lo
Author: kevlo Date: Wed Dec 8 01:35:19 2010 New Revision: 216285 URL: http://svn.freebsd.org/changeset/base/216285 Log: Closing file descriptors when it's done Reviewed by: np Modified: head/usr.sbin/cxgbtool/cxgbtool.c Modified: head/usr.sbin/cxgbtool/cxgbtool.c =

Re: svn commit: r216263 - head/sys/dev/acpica

2010-12-07 Thread Alexey Dokuchaev
On Tue, Dec 07, 2010 at 06:49:11PM +, John Baldwin wrote: > Author: jhb > Date: Tue Dec 7 18:49:11 2010 > New Revision: 216263 > URL: http://svn.freebsd.org/changeset/base/216263 > > Log: > Use proper resource ID's for HPET IRQ resources. This mostly consists of > looking to see if there

svn commit: r216284 - head/sys/dev/usb/net

2010-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 8 01:24:05 2010 New Revision: 216284 URL: http://svn.freebsd.org/changeset/base/216284 Log: r184610 changed the way how TX frames are handled on AX88178 and AX88772 controllers. ASIX added a new feature for AX88178/AX88772 controllers which allows combining mul

svn commit: r216283 - in head/sys: amd64/amd64 amd64/include conf i386/i386 x86/x86

2010-12-07 Thread Jung-uk Kim
Author: jkim Date: Wed Dec 8 00:09:24 2010 New Revision: 216283 URL: http://svn.freebsd.org/changeset/base/216283 Log: Merge sys/amd64/amd64/tsc.c and sys/i386/i386/tsc.c and move to sys/x86/x86. Discussed with: avg Added: head/sys/x86/x86/tsc.c - copied unchanged from r21627

Re: svn commit: r216280 - head/sys/xen/evtchn

2010-12-07 Thread Colin Percival
On 12/07/10 15:33, Colin Percival wrote: > Log: > Postpone the unmasking of event channels (aka. interrupts) until after > the interrupt handlers have been registered. NULL isn't a very good > interrupt handler. Forgot to add: While here, make bind_ipi_to_irq static, since it isn't used fro

svn commit: r216282 - in head: share/misc usr.bin/calendar/calendars

2010-12-07 Thread Florian Smeets
Author: flo (ports committer) Date: Tue Dec 7 23:56:51 2010 New Revision: 216282 URL: http://svn.freebsd.org/changeset/base/216282 Log: Add myself to calendar.freebsd and committers-ports.dot Approved by: fjoe (mentor) Modified: head/share/misc/committers-ports.dot head/usr.bin/calen

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

2010-12-07 Thread Andriy Gapon
on 08/12/2010 01:11 Bruce Cran said the following: > On Tue, 7 Dec 2010 23:06:24 + > Bruce Cran wrote: >> I guess the fields are still defined to keep old tools happy. > > I mean that values are still returned by the drive firmware, > while they could be left zero according to the spec. For e

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

2010-12-07 Thread Andriy Gapon
on 08/12/2010 01:11 Matthew Jacob said the following: > Geometry is still important. Trying booting a USB flash drive on all BIOS' > with > a 63/255 geometry instead of a 64/32 geometry. Well, I don't know anything about USB... My point about modern HDDs still stands. > On 12/7/2010 2:14 PM, An

svn commit: r216280 - head/sys/xen/evtchn

2010-12-07 Thread Colin Percival
Author: cperciva Date: Tue Dec 7 23:33:20 2010 New Revision: 216280 URL: http://svn.freebsd.org/changeset/base/216280 Log: Postpone the unmasking of event channels (aka. interrupts) until after the interrupt handlers have been registered. NULL isn't a very good interrupt handler. Modified

svn commit: r216279 - in head/sys/i386: i386 include

2010-12-07 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 7 23:19:49 2010 New Revision: 216279 URL: http://svn.freebsd.org/changeset/base/216279 Log: Use int for 'tsc_present' instead of u_int. It is just a boolean. Modified: head/sys/i386/i386/tsc.c head/sys/i386/include/cpu.h Modified: head/sys/i386/i386/tsc.c =

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

2010-12-07 Thread Matthew Jacob
Geometry is still important. Trying booting a USB flash drive on all BIOS' with a 63/255 geometry instead of a 64/32 geometry. On 12/7/2010 2:14 PM, 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

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

2010-12-07 Thread Bruce Cran
On Tue, 7 Dec 2010 23:06:24 + Bruce Cran wrote: > I guess the fields are still defined to keep old tools happy. I mean that values are still returned by the drive firmware, while they could be left zero according to the spec. For example a new 1TB ATA-8 drive returns a geometry of 16H/63S/163

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

2010-12-07 Thread Bruce Cran
On Tue, 07 Dec 2010 23:54:17 +0200 Andriy Gapon wrote: > You repeated that statement, so I am picking on you :-) > Can someone show me how/where exactly modern drives fakes CHS > geometry? Let me specifically ask that question about modern (S)ATA > drives directly connected to a system (controlle

svn commit: r216277 - head/sys/netinet6

2010-12-07 Thread Bjoern A. Zeeb
Author: bz Date: Tue Dec 7 22:43:29 2010 New Revision: 216277 URL: http://svn.freebsd.org/changeset/base/216277 Log: Loosen the locking in nd6-free() again after r216022 to avoid a LOR and a recursed lock. Reported by: delphij Tested by:delphij PR: kern/148857 MFC Af

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

2010-12-07 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 7 22:43:25 2010 New Revision: 216276 URL: http://svn.freebsd.org/changeset/base/216276 Log: Remove stale comments about P-state invariant TSC and fix style(9) nits. Modified: head/sys/amd64/amd64/identcpu.c head/sys/amd64/amd64/tsc.c head/sys/i386/i386/identcpu

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

2010-12-07 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 7 22:34:51 2010 New Revision: 216275 URL: http://svn.freebsd.org/changeset/base/216275 Log: Do not register a event handler for CPU freqency changes when it is found P-state invariant. This is continuation of r216274. Modified: head/sys/amd64/amd64/identcpu.c

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

2010-12-07 Thread Ivan Voras
On 7 December 2010 12:31, Pawel Jakub Dawidek wrote: > On Tue, Dec 07, 2010 at 12:25:28PM +0100, Ivan Voras wrote: >> On 7 December 2010 11:21, Pawel Jakub Dawidek wrote: >> >> > PS. Do you know your change breaks all current ZFS installation if >> > stripesize is defined for a provider? >> > >>

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

2010-12-07 Thread Matthew Jacob
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 have any relation to the on-disk layout of data. You

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

2010-12-07 Thread John Baldwin
On Tuesday, December 07, 2010 5:22:29 pm John Baldwin wrote: > On Tuesday, December 07, 2010 5:12:02 pm Jung-uk Kim wrote: > > Author: jkim > > Date: Tue Dec 7 22:12:02 2010 > > New Revision: 216272 > > URL: http://svn.freebsd.org/changeset/base/216272 > > > > Log: > > Probe P-state invariant T

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

2010-12-07 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 7 22:23:26 2010 New Revision: 216274 URL: http://svn.freebsd.org/changeset/base/216274 Log: Now the P-state invariant TSC is probed early enough, do not register event handlers for CPU freqency changes when it is found P-state invariant. Adjust a comment about non

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

2010-12-07 Thread John Baldwin
On Tuesday, December 07, 2010 5:12:02 pm Jung-uk Kim wrote: > Author: jkim > Date: Tue Dec 7 22:12:02 2010 > New Revision: 216272 > URL: http://svn.freebsd.org/changeset/base/216272 > > Log: > Probe P-state invariant TSC from rightful place. > > Modified: > head/sys/amd64/amd64/identcpu.c >

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 th

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

2010-12-07 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 7 22:12:02 2010 New Revision: 216272 URL: http://svn.freebsd.org/changeset/base/216272 Log: Probe P-state invariant TSC from rightful place. Modified: head/sys/amd64/amd64/identcpu.c head/sys/amd64/amd64/tsc.c head/sys/i386/i386/identcpu.c head/sys/i386/i386/

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

2010-12-07 Thread Andriy Gapon
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 have any > relation to the on-disk layout of data. You repeated that statement, so I am picking on

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

2010-12-07 Thread Bruce Cran
Author: brucec Date: Tue Dec 7 20:46:11 2010 New Revision: 216269 URL: http://svn.freebsd.org/changeset/base/216269 Log: 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 have any relation to the on-disk

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

2010-12-07 Thread Doug Barton
On 12/07/2010 03:51, Bruce Cran wrote: On Tue, Dec 07, 2010 at 01:31:27PM +0200, Alexander Motin wrote: Not necessary. Some places indeed may have some legacy requirements, for example, in theory MBR want partition to be aligned to "track boundary" (but I've seen many pre-formatted SD cards with

svn commit: r216268 - head/sys/net

2010-12-07 Thread Weongyo Jeong
Author: weongyo Date: Tue Dec 7 20:31:04 2010 New Revision: 216268 URL: http://svn.freebsd.org/changeset/base/216268 Log: Adds IFF_CANTCONFIG to IFF_CANTCHANGE that it shouldn't happen through ioctl(2). Modified: head/sys/net/if.h Modified: head/sys/net/if.h ==

svn commit: r216267 - in head: sbin/ifconfig sys/dev/usb sys/net

2010-12-07 Thread Weongyo Jeong
Author: weongyo Date: Tue Dec 7 20:23:47 2010 New Revision: 216267 URL: http://svn.freebsd.org/changeset/base/216267 Log: Introduces IFF_CANTCONFIG interface flag to point that the interface isn't configurable in a meaningful way. This is for ifconfig(8) or other tools not to change code w

Re: svn commit: r216016 - head/sys/sparc64/include

2010-12-07 Thread mdf
On Tue, Dec 7, 2010 at 5:41 AM, Marius Strobl wrote: > On Mon, Dec 06, 2010 at 02:30:01PM -0800, m...@freebsd.org wrote: >> On Mon, Dec 6, 2010 at 2:07 PM, Marius Strobl >> wrote: >> [lots of snip] >> >> > With that one the kernel now survies memguard_init() but then panics >> > right afterwards

svn commit: r216266 - head/sys/dev/ichwd

2010-12-07 Thread Ed Maste
Author: emaste Date: Tue Dec 7 19:18:00 2010 New Revision: 216266 URL: http://svn.freebsd.org/changeset/base/216266 Log: Add a comment to clarify that some BIOSes may clear the hw watchdog indicator bit, preventing us from reporting in that case. X-MFC-with: r215868 Modified: head/s

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

2010-12-07 Thread John Baldwin
Author: jhb Date: Tue Dec 7 18:49:11 2010 New Revision: 216263 URL: http://svn.freebsd.org/changeset/base/216263 Log: Use proper resource ID's for HPET IRQ resources. This mostly consists of looking to see if there is an existing IRQ resource for a given IRQ provided by the BIOS and using

svn commit: r216258 - in head/lib/libarchive: . test

2010-12-07 Thread Tim Kientzle
Author: kientzle Date: Tue Dec 7 16:48:01 2010 New Revision: 216258 URL: http://svn.freebsd.org/changeset/base/216258 Log: Don't write data into an empty "file." In particular, this check avoids a warning when extracting directory entries from certain GNU tar archives that store direct

svn commit: r216257 - head/usr.sbin/fifolog/lib

2010-12-07 Thread Poul-Henning Kamp
Author: phk Date: Tue Dec 7 16:30:52 2010 New Revision: 216257 URL: http://svn.freebsd.org/changeset/base/216257 Log: Use a "push" strategy to get data through libz, rather than a "pull" strategy. Modified: head/usr.sbin/fifolog/lib/fifolog_write.h head/usr.sbin/fifolog/lib/fifolog_write_p

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

2010-12-07 Thread Ivan Voras
Author: ivoras Date: Tue Dec 7 15:24:08 2010 New Revision: 216256 URL: http://svn.freebsd.org/changeset/base/216256 Log: Undo r216230: the interaction between saved ashift in metadata and detected ashift does not support this. With this change, pools created while stripesize=512 could not b

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

2010-12-07 Thread Warner Losh
From: Erik Trulsson Subject: Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Date: Tue, 7 Dec 2010 13:10:58 +0100 > On Tue, Dec 07, 2010 at 01:57:04PM +0200, Andriy Gapon wrote: > > on 07/12/2010 13:51 Bruce Cran said the following: > > > On Tue, Dec 07, 2010 at 01:

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

2010-12-07 Thread Warner Losh
From: Bruce Cran Subject: Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Date: Tue, 7 Dec 2010 11:51:06 + > On Tue, Dec 07, 2010 at 01:31:27PM +0200, Alexander Motin wrote: > > Not necessary. Some places indeed may have some legacy requirements, > > for example

Re: svn commit: r216016 - head/sys/sparc64/include

2010-12-07 Thread Marius Strobl
On Mon, Dec 06, 2010 at 02:30:01PM -0800, m...@freebsd.org wrote: > On Mon, Dec 6, 2010 at 2:07 PM, Marius Strobl > wrote: > [lots of snip] > > > With that one the kernel now survies memguard_init() but then panics > > right afterwards when kmeminit() calls kmem_suballoc(): > > KDB: debugger bac

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 boundar

svn commit: r216255 - in head/sys/amd64: amd64 linux32

2010-12-07 Thread Konstantin Belousov
Author: kib Date: Tue Dec 7 12:44:33 2010 New Revision: 216255 URL: http://svn.freebsd.org/changeset/base/216255 Log: Update some comments related to use of amd64 full context switch. In exec_linux_setregs(), use locally cached pointer to pcb to set pcb_full_iret. In set_regs(), note that

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

2010-12-07 Thread Erik Trulsson
On Tue, Dec 07, 2010 at 01:57:04PM +0200, Andriy Gapon wrote: > on 07/12/2010 13:51 Bruce Cran said the following: > > On Tue, Dec 07, 2010 at 01:31:27PM +0200, Alexander Motin wrote: > >> Not necessary. Some places indeed may have some legacy requirements, > >> for example, in theory MBR want part

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: r216252 - head/sys/cddl/dev/cyclic/i386

2010-12-07 Thread Andriy Gapon
on 07/12/2010 14:04 Andriy Gapon said the following: > 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

svn commit: r216253 - in head/sys/amd64: amd64 ia32 include linux32

2010-12-07 Thread Konstantin Belousov
Author: kib Date: Tue Dec 7 12:17:43 2010 New Revision: 216253 URL: http://svn.freebsd.org/changeset/base/216253 Log: Retire write-only PCB_FULLCTX pcb flag on amd64. Reminded by: Petr Salinger Tested by:pho MFC after:1 week Modified: head/sys/amd64/amd64/exception.S hea

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 week

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

2010-12-07 Thread Andriy Gapon
on 07/12/2010 13:51 Bruce Cran said the following: > On Tue, Dec 07, 2010 at 01:31:27PM +0200, Alexander Motin wrote: >> Not necessary. Some places indeed may have some legacy requirements, >> for example, in theory MBR want partition to be aligned to "track >> boundary" (but I've seen many pre-for

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

2010-12-07 Thread Bruce Cran
On Tue, Dec 07, 2010 at 01:31:27PM +0200, Alexander Motin wrote: > Not necessary. Some places indeed may have some legacy requirements, > for example, in theory MBR want partition to be aligned to "track > boundary" (but I've seen many pre-formatted SD cards with MBR > violating it to align partiti

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

2010-12-07 Thread Pawel Jakub Dawidek
On Tue, Dec 07, 2010 at 12:25:28PM +0100, Ivan Voras wrote: > On 7 December 2010 11:21, Pawel Jakub Dawidek wrote: > > > PS. Do you know your change breaks all current ZFS installation if > > stripesize is defined for a provider? > > > >        # zpool create tank ada0 > >        (upgrade FreeBSD

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

2010-12-07 Thread Alexander Motin
On 07.12.2010 13:04, Pawel Jakub Dawidek wrote: On Tue, Dec 07, 2010 at 12:25:34PM +0200, Alexander Motin wrote: It is really nice that we support bigger sector sizes. But unluckily we are not the only OS in universe. Disks with data may move between systems, partition could be shared, etc. We m

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

2010-12-07 Thread Ivan Voras
On 7 December 2010 11:21, Pawel Jakub Dawidek wrote: > PS. Do you know your change breaks all current ZFS installation if > stripesize is defined for a provider? > >        # zpool create tank ada0 >        (upgrade FreeBSD so that ada0 now reports 4kB stripesize) >        # zpool import tank >  

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

2010-12-07 Thread Pawel Jakub Dawidek
On Tue, Dec 07, 2010 at 12:25:34PM +0200, Alexander Motin wrote: > It is really nice that we support bigger sector sizes. But unluckily we > are not the only OS in universe. Disks with data may move between > systems, partition could be shared, etc. We must keep compatibility -- > period. Can you p

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

2010-12-07 Thread Bruce Cran
On Tue, 7 Dec 2010 10:51:37 +0100 Pawel Jakub Dawidek wrote: > We can be smarter than that, really. We all know the disk presents 512 > bytes sectors only(?) because most of the software out there > (including Windows, I guess) will simply break when they see disk > with 4kB sector. 8 years ago

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

2010-12-07 Thread Alexander Motin
Pawel Jakub Dawidek wrote: > On Mon, Dec 06, 2010 at 11:10:38PM +0200, Alexander Motin wrote: >> On 06.12.2010 22:18, John Baldwin wrote: >>> On Monday, December 06, 2010 2:53:27 pm Pawel Jakub Dawidek wrote: On Mon, Dec 06, 2010 at 08:35:36PM +0100, Ivan Voras wrote: > Please persuade me

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

2010-12-07 Thread Pawel Jakub Dawidek
On Mon, Dec 06, 2010 at 09:28:42PM +0100, Ivan Voras wrote: > But there are two reasons that I think are important, which resulted > in changing this: > > 1) It is being used out of the original context in the mailing list > posts I've referenced - it was being used (and in a worse way, by > havin

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

2010-12-07 Thread Pawel Jakub Dawidek
On Mon, Dec 06, 2010 at 11:10:38PM +0200, Alexander Motin wrote: > On 06.12.2010 22:18, John Baldwin wrote: > >On Monday, December 06, 2010 2:53:27 pm Pawel Jakub Dawidek wrote: > >>On Mon, Dec 06, 2010 at 08:35:36PM +0100, Ivan Voras wrote: > >>>Please persuade me on technical grounds why ashift,

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

2010-12-07 Thread Pawel Jakub Dawidek
On Mon, Dec 06, 2010 at 03:18:49PM -0500, John Baldwin wrote: > On Monday, December 06, 2010 2:53:27 pm Pawel Jakub Dawidek wrote: > > On Mon, Dec 06, 2010 at 08:35:36PM +0100, Ivan Voras wrote: > > > Please persuade me on technical grounds why ashift, a property > > > intended for address alignmen

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 that.

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: head/

svn commit: r216249 - head/sys/dev/usb

2010-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 7 08:20:20 2010 New Revision: 216249 URL: http://svn.freebsd.org/changeset/base/216249 Log: Re-add a status check which sneaked out during r214804. This change can fix some USB error messages showing up during bootup. MFC after:3 days Approved by: