Date: Sun, 16 Nov 2014 10:22:16 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: "K. Macy" <kmacy@FreeBSD.org>, Bogdan SOLGA <bogdan.solga@gmail.com> Cc: FreeBSD Stable <freebsd-stable@FreeBSD.org> Subject: Re: ZFS pool creation from files leads to a crash Message-ID: <54685EB8.9050800@FreeBSD.org> In-Reply-To: <CAHM0Q_Ntt_cgRAvBZGzBcZkE-Ua0wkfF3O-kfPbWF=5WQHWjyQ@mail.gmail.com> References: <CAHHzeCWv=iw1Vc7ECEZsviphQ7k4cw3D6crDNOaM1Jsd7yM8LQ@mail.gmail.com> <CAHM0Q_Ntt_cgRAvBZGzBcZkE-Ua0wkfF3O-kfPbWF=5WQHWjyQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54685EB8.9050800>