From owner-freebsd-stable@FreeBSD.ORG Mon Oct 13 18:43:47 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 480C4987; Mon, 13 Oct 2014 18:43:47 +0000 (UTC) Received: from mail-yh0-x232.google.com (mail-yh0-x232.google.com [IPv6:2607:f8b0:4002:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE488E2F; Mon, 13 Oct 2014 18:43:46 +0000 (UTC) Received: by mail-yh0-f50.google.com with SMTP id a41so3905591yho.9 for ; Mon, 13 Oct 2014 11:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=3MfuhrtClGMRcJI4ReBhfBwre3FoIcn3vzxn2vjuBIg=; b=OpNi31hwVi3Pyb7OHyc+289I2vPOXI6MGIs9HkT5f8PgAml8lTLDtW17hazfa1svOC +nzhvCBdMeq+PO5QVIcuUat0UphiwS9WVOVuzcRG36zf+/D9LFmoDlIYUcfWjurUwnAL C5e+arEmCjfHWZYc99AOFu34QiZNcjiYby+ilU7nHxWy68D5kKXF9J7F6KP4PXaroAJl VvzAp2P2hrUxBEfJAKXLJ6IlBl4eTrXvQzV26dAMxMMqw5ppgLBgK8EFARg9Z2Q+OyVc 6XiF0+LzTeELdYXKwmnYe518Gspl/uOkYyJTH5iaJDFQ/FE1k25gRuulCSwJOHW6UsJx ACZQ== MIME-Version: 1.0 X-Received: by 10.236.103.170 with SMTP id f30mr659352yhg.4.1413225825965; Mon, 13 Oct 2014 11:43:45 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.170.82.197 with HTTP; Mon, 13 Oct 2014 11:43:45 -0700 (PDT) In-Reply-To: <6E01BBEDA9984CCDA14F290D26A8E14D@multiplay.co.uk> References: <54372173.1010100@ijs.si> <644FA8299BF848E599B82D2C2C298EA7@multiplay.co.uk> <54372EBA.1000908@ijs.si> <543731F3.8090701@ijs.si> <543AE740.7000808@ijs.si> <6E01BBEDA9984CCDA14F290D26A8E14D@multiplay.co.uk> Date: Mon, 13 Oct 2014 11:43:45 -0700 X-Google-Sender-Auth: Sv6PFUGBZE66F3NhqfSBLjHi2ys Message-ID: Subject: Re: zfs pool import hangs on [tx->tx_sync_done_cv] From: "K. Macy" To: Steven Hartland Content-Type: text/plain; charset=UTF-8 Cc: Mark Martinec , "freebsd-fs@FreeBSD.org" , FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2014 18:43:47 -0000 >> A recent quick read of the code would lead me to believe that > > Yer I would have got the zio details but typically its "optimised out" by > the > compiler, so will need some effort to track that down unfortunately :( FYI it isn't actually optimized out. The debug info accounting just isn't very good about tracking the values in registers. You'll see in my last mail that just looking at the assembler makes it pretty obvious that zio was in %r14. HTH. Cheers. -K