From owner-freebsd-stable@FreeBSD.ORG Sun Nov 16 16:15:15 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 7EFFBE92 for ; Sun, 16 Nov 2014 16:15:15 +0000 (UTC) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) (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 145279E3 for ; Sun, 16 Nov 2014 16:15:14 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b13so22777060wgh.11 for ; Sun, 16 Nov 2014 08:15:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KeAzv8rTEfMxOyB5yzCdRbkBh7GCsyis/k72W/bM2KA=; b=Jk9szBULRDcMHsh1DQ87Bc5Wf4T79X5DOR5f6Y1DFQg5jLOK5IovFboX7n4t/dHG84 jdoxa5gnQSzSeUjkcwfE6I1LiBONCaY/8sH9K2m3eXDrrcHdIN8YGRPBwqS5GJZ/zn/k tCxGWhEZyNJz7ML/XWMvto30JoWiOPoAQnRVAdXS8mN6gCQ34Atp6ShJLJCisS9istgz HNu/cUQ4GRbSwyn3IcwlkgIBqwPtvd60Z/dy6ZQwhNavZ3EAjffPmDBrJJU+AIHxBhBg tz7ek5DY0I9eXCKxpXbzKLq6mke2MGuF6hGRkdcbT/ucFlZ9wh62fxFU2WUravbaNtZ1 SCmQ== X-Gm-Message-State: ALoCoQlNeNt/Gkj5ROftiCaHyn6BgkdhQ3nIQxIyFVCnkmft7ZZntA4sXzAQp1SIV3IHBF31kpxC X-Received: by 10.194.250.68 with SMTP id za4mr31935559wjc.92.1416154507154; Sun, 16 Nov 2014 08:15:07 -0800 (PST) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id lp14sm11596785wic.20.2014.11.16.08.15.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Nov 2014 08:15:05 -0800 (PST) Message-ID: <5468CD8C.7070500@multiplay.co.uk> Date: Sun, 16 Nov 2014 16:15:08 +0000 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: ZFS pool creation from files leads to a crash References: <54685EB8.9050800@FreeBSD.org> In-Reply-To: <54685EB8.9050800@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 16 Nov 2014 16:15:15 -0000 On 16/11/2014 08:22, Andriy Gapon wrote: > On 16/11/2014 09:29, K. Macy wrote: >> #23 0xffffffff819b9a2c in zfs_vn_rdwr (rw=UIO_WRITE, >> vp=0xfffff8005d94a3b0, base=0x0, len=104857600, offset=0, >> seg=UIO_SYSSPACE, ioflag=128, ulimit=0, cr=0xfffff80002cd9000, >> residp=0xfffffe01219f6f18) at vnode.h:237 >> #24 0xffffffff819b9706 in vdev_file_io_start (zio=0xfffff80009ebb000) >> at /usr/home/kmacy/devel/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_file.c:188 >> #25 0xffffffff819fcea3 in zio_vdev_io_start (zio=0xfffff80009ebb000) >> at /usr/home/kmacy/devel/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:2709 >> #26 0xffffffff819f51f1 in zio_execute (zio=0xfffff80009ebb000) >> at /usr/home/kmacy/devel/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1409 >> #27 0xffffffff819f368a in zio_wait (zio=0xfffff80009ebb000) >> at /usr/home/kmacy/devel/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1433 >> #28 0xffffffff819bb51e in vdev_label_init (vd=0xfffff80009919800, >> crtxg=4, reason=VDEV_LABEL_CREATE) >> at /usr/home/kmacy/devel/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_label.c:718 > Seems like this crash is caused by vdev_file_io_start being blissfully unaware > of ZIO_TYPE_FREE. > It is indeed see the following bug for breakdown and patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195061 I'd love to know why I can run this many times over here and not a single sign of a panic :( Regards Steve