Date: Sun, 16 Nov 2014 13:08:27 -0800 From: "K. Macy" <kmacy@freebsd.org> To: Steven Hartland <killing@multiplay.co.uk> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: ZFS pool creation from files leads to a crash Message-ID: <CAHM0Q_MC0matDh4YAhF1wBd00wX5k209X-ZOh6F_=PW6ie4cHQ@mail.gmail.com> In-Reply-To: <5468CD8C.7070500@multiplay.co.uk> References: <CAHHzeCWv=iw1Vc7ECEZsviphQ7k4cw3D6crDNOaM1Jsd7yM8LQ@mail.gmail.com> <CAHM0Q_Ntt_cgRAvBZGzBcZkE-Ua0wkfF3O-kfPbWF=5WQHWjyQ@mail.gmail.com> <54685EB8.9050800@FreeBSD.org> <5468CD8C.7070500@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 16, 2014 at 8:15 AM, Steven Hartland <killing@multiplay.co.uk> wrote: > > 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 :( Do you somehow have TRIM disabled? -K
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHM0Q_MC0matDh4YAhF1wBd00wX5k209X-ZOh6F_=PW6ie4cHQ>