Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-23 Thread Ivan Voras
On 23/08/2011 03:23, Peter Jeremy wrote: On 2011-Aug-22 12:45:08 +0200, Ivan Voras wrote: It would be suboptimal but only for the slight waste of space that would have otherwise been reclaimed if the block or fragment size remained 512 or 2K. This waste of space is insignificant for the vast ma

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-23 Thread Aled Morris
On 23 August 2011 10:52, Ivan Voras wrote: > > I agree but there are at least two things going for making the increase > anyway: > > 1) 2 TB drives cost $80 > 2) Where the space is really important, the person in charge usually knows > it and can choose a non-default size like 512b fragments. > >

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-23 Thread Ivan Voras
On 23/08/2011 11:59, Aled Morris wrote: On 23 August 2011 10:52, Ivan Voras wrote: I agree but there are at least two things going for making the increase anyway: 1) 2 TB drives cost $80 2) Where the space is really important, the person in charge usually knows it and can choose a non-defaul

Re: module_register_init fails, but driver is still loaded?

2011-08-23 Thread John Baldwin
On Thursday, August 04, 2011 12:23:15 pm Garrett Cooper wrote: > Hi hackers, > I noticed that if anything fails while initializing a driver, the > driver stays attached to the kernel as a module instead of being > kicked when all references to the driver go to 0. Is this desired > behavior (it

skipping locks, mutex_owned, usb

2011-08-23 Thread Andriy Gapon
Yes, the subject sounds quite hairy, so please let me try to explain it. First, let's consider one concrete function: static int ukbd_poll(keyboard_t *kbd, int on) { struct ukbd_softc *sc = kbd->kb_data; if (!mtx_owned(&Giant)) { /* XXX cludge */ i

Re: [nvi-iconv]Call for test

2011-08-23 Thread Ulrich Spörlein
On Thu, 2011-08-18 at 22:15:47 -0500, Zhihao Yuan wrote: > On Thu, Aug 18, 2011 at 9:26 PM, Test Rat wrote: > > timp writes: > > > >> Hi! > >> I just tried you patch on latest current with clang. > >> > >> [root@current64 /usr/src]# uname -a > >> FreeBSD current64 9.0-BETA1 FreeBSD 9.0-BETA1 #0:

Re: Concurrent execution of rc-scripts with rcorder(8)

2011-08-23 Thread kilian
On Sun, Aug 21, 2011 at 02:54:15PM +0100, Chris Rees wrote: > On 21 Aug 2011 13:39, "kilian" wrote: > > > > Hello, > > > > the idea to start services concurrently during boot isn't new and the > > question why FreeBSD doesn't do it has popped up on the forum and > > mailing list occasionally. So,

Re: [nvi-iconv]Call for test

2011-08-23 Thread Zhihao Yuan
On Tue, Aug 23, 2011 at 12:51 PM, Ulrich Spörlein wrote: > On Thu, 2011-08-18 at 22:15:47 -0500, Zhihao Yuan wrote: >> On Thu, Aug 18, 2011 at 9:26 PM, Test Rat wrote: >> > timp writes: >> > >> >> Hi! >> >> I just tried you patch on latest current with clang. >> >> >> >> [root@current64 /usr/src