Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Aug 2011 22:04:02 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        David P Discher <dpd@bitgravity.com>
Cc:        freebsd-fs@FreeBSD.org, Martin Matuska <mm@FreeBSD.org>
Subject:   Re: zfs process hang on pool access
Message-ID:  <4E384A22.5000402@FreeBSD.org>
In-Reply-To: <CDDFA6DE-BD1B-4055-B7E2-7400E22A1639@bitgravity.com>
References:  <A14F1C768A41483C876AD77502A864D6@multiplay.co.uk> <0D449EC916264947AB31AA17F870EA7A@multiplay.co.uk> <4E3013DF.10803@FreeBSD.org> <3D6CEB50BEDD4ACE96FD35C4D085618A@multiplay.co.uk> <4E301C55.7090105@FreeBSD.org> <5C84E7C8452E489C8CA738294F5EBB78@multiplay.co.uk> <4E301F10.6060708@FreeBSD.org> <63705B5AEEAD4BB88ADB9EF770AB6C76@multiplay.co.uk> <4E302204.2030009@FreeBSD.org> <6703F0BB-D4FC-4417-B519-CAFC62E5BC39@bitgravity.com> <04C305AE5F184C6AAC2A67CE23184013@multiplay.co.uk> <3D893A9B-2CD9-40EB-B4A2-5DBCBB72C62E@bitgravity.com> <4E35D2E5.4020108@FreeBSD.org> <0E851F439C384186A1D44A347C19A7D7@multiplay.co.uk> <4E36A25F.7000000@FreeBSD.org> <DC3F7EEF-0FD1-4110-85A7-0D24E4F78091@bitgravity.com> <4E383E5E.5050407@FreeBSD.org> <CDDFA6DE-BD1B-4055-B7E2-7400E22A1639@bitgravity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 02/08/2011 21:24 David P Discher said the following:
> 
> On Aug 2, 2011, at 11:13 AM, Andriy Gapon wrote:
> 
>> on 02/08/2011 21:01 David P Discher said the following:
>>> 41 #define LBOLT   (gethrtime() * (NANOSEC/hz))
>>
>> I think that you got this wrong in your local changes.
> 
> 
> 
> How is this different than what's in -head : 
> 
> 	sys/cddl/compat/opensolaris/kern/opensolaris.c:65:      nsec_per_tick = NANOSEC / hz;
> 
> 	sys/cddl/compat/opensolaris/sys/time.h:71: return (gethrtime() / nsec_per_tick);
> 
> 
> The only difference is an explicit casting the return as int64_t ? 

No.  You need to look at the maths ;-)
Note the absence of '*' symbols in the quote from head.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E384A22.5000402>