Hi
One year after my previous issues with bcache, i hit yet another - new
version of mkfs.ext4 emits discard command before volume formatting, and
it encountered hidden kernel bug.
My block storage rig is complex:
1) Two LVM volume groups (vgroup0 - cached, vgroup2 - uncached), layered on:
2) set of bcache devices, layered on:
3) set of partitions, layered on:
4) mdadm raid device, layered on:
5) set of HDD's.
+) plus pair of SSD's merged together as mdadm RAID1 device, used as
caching device for layer #2 bcache devices.
Problem appeared recently after usual system update: now i can't safely
create new lvm volumes and format them with mkfs.ext4 - this hits bug in
kernel with high probability.
My initial bug report about this in gentoo bug tracker:
https://bugs.gentoo.org/671122
And this bug report seems about the same problem:
https://bugzilla.kernel.org/show_bug.cgi?id=196103
Can anyone suggest what can be done to resolve this issue?