Re: [dm-devel] [PATCH] dm mirror: fix crash caused by NULL-pointer dereference

2017-06-26 Thread Eric Ren
Hi, On 06/26/2017 06:55 PM, Eric Ren wrote: Hi Zdenek, On 06/26/2017 05:46 PM, Zdenek Kabelac wrote: Dne 26.6.2017 v 11:08 Eric Ren napsal(a): [... snip...] Hi Which kernel version is this ? I'd thought we've already fixed this BZ for old mirrors:

Re: [dm-devel] [PATCH] dm mirror: fix crash caused by NULL-pointer dereference

2017-06-26 Thread Zdenek Kabelac
Dne 26.6.2017 v 12:55 Eric Ren napsal(a): Hi Zdenek, On 06/26/2017 05:46 PM, Zdenek Kabelac wrote: Dne 26.6.2017 v 11:08 Eric Ren napsal(a): [... snip...] Hi Which kernel version is this ? I'd thought we've already fixed this BZ for old mirrors:

Re: [dm-devel] [PATCH] dm mirror: fix crash caused by NULL-pointer dereference

2017-06-26 Thread Eric Ren
Hi Zdenek, On 06/26/2017 05:46 PM, Zdenek Kabelac wrote: Dne 26.6.2017 v 11:08 Eric Ren napsal(a): [... snip...] Hi Which kernel version is this ? I'd thought we've already fixed this BZ for old mirrors: https://bugzilla.redhat.com/show_bug.cgi?id=1382382 There similar BZ for md-raid

Re: [dm-devel] [PATCH] dm mirror: fix crash caused by NULL-pointer dereference

2017-06-26 Thread Eric Ren
Hi, On 06/26/2017 05:14 PM, Johannes Thumshirn wrote: On Mon, Jun 26, 2017 at 05:08:48PM +0800, Eric Ren wrote: When the primary mirror device fails, activating a mirrored LV will crash the kernel. It can be reproduced 100% with the scripts below: """ dd if=/dev/zero of=file.raw bs=1G count=1

Re: [dm-devel] [PATCH] dm mirror: fix crash caused by NULL-pointer dereference

2017-06-26 Thread Johannes Thumshirn
On Mon, Jun 26, 2017 at 05:08:48PM +0800, Eric Ren wrote: > When the primary mirror device fails, activating a mirrored > LV will crash the kernel. It can be reproduced 100% with the > scripts below: > > """ > dd if=/dev/zero of=file.raw bs=1G count=1 > loopdev=$(losetup -f) > losetup $loopdev