Created attachment 277875 [details] dmesg output my commandline is ``` dmsetup create wc --table "0 1000000 writecache s /dev/sdb3 /dev/sda5 4096 0" ```
Created attachment 277899 [details] A patch for this bug Try this patch
(In reply to Mikulas Patocka from comment #1) > Created attachment 277899 [details] > A patch for this bug > > Try this patch I've staged this fix for the current 4.19 merge window: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-4.19&id=690ebae429de8e8a80fc32fb15dd02c50cdb1de1 I'll likely send to Linus tomorrow.
(In reply to Mike Snitzer from comment #2) > I've staged this fix for the current 4.19 merge window: > https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/ > commit/?h=dm-4.19&id=690ebae429de8e8a80fc32fb15dd02c50cdb1de1 Revised patch subject to say: "dm writecache: fix a crash due to reading past end of dirty_bitmap" updated commit is here: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-4.19&id=1e1132ea21da6d7be92a72195204379c819cb70b
This patch works to me, thanks.