zfs process hang on pool access

Steven Hartland killing at multiplay.co.uk
Sun Jul 31 23:33:19 UTC 2011


----- Original Message ----- 
From: "Martin Matuska" <mm at FreeBSD.org>


>I walked through all occurences of ddi_get_lbolt() in the ZFS code and
> this is the only place where it is incorrectly initialized.
> This is how it should look like.
> 
> ===================================================================
> --- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c (revision 224527)
> +++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c (working copy)
> @@ -488,7 +488,7 @@
> txg_delay(dsl_pool_t *dp, uint64_t txg, int ticks)
> {
> tx_state_t *tx = &dp->dp_tx;
> - int timeout = ddi_get_lbolt() + ticks;
> + clock_t timeout = ddi_get_lbolt() + ticks;

So you recon that one line will fix the 100+ days overflow David's talking about?

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-fs mailing list