Re: [dm-devel] [PATCH][RFC] dm raid: Fix NULL pointer dereference for raid1 without bitmap

2017-03-30 Thread Heinz Mauelshagen
Acked-by: Heinz Mauelshagen This is the simplest way to solve the issue at hand (bitmap_load() returns success with non-existing bitmap). Heinz On 03/30/2017 05:14 PM, km...@yandex-team.ru wrote: From: Dmitry Bilunov 4257e08 introduces a bitmap resize call during preresume phase. User can

[PATCH][RFC] dm raid: Fix NULL pointer dereference for raid1 without bitmap

2017-03-30 Thread kmeaw
From: Dmitry Bilunov 4257e08 introduces a bitmap resize call during preresume phase. User can create a DM device with "raid" target configured as raid1 with no metadata devices to hold superblock/bitmap info. It can be achieved using the following sequence: truncate -s 32M /dev/shm/raid-test