I heard of the ext4 bug, but I didn't check my kernel more carefully - contrarily to what I reported previously, my kernel version was 4.14.79, NOT 4.19.12 (I think I installed the latter, but the system was still pending a reboot). I am sorry if this caused confusion. AFAIK, those are the flags used in the NixOS kernel: https://github.com/NixOS/nixpkgs/blob/0396345b79436f54920f7eb651ab42acf2eb7973/pkgs/os-specific/linux/kernel/common-config.nix I did not find references to "elevator" nor "scsi_mod.use_blk_mq" there or in the boot command line. -b11g ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, 3 January 2019 08:27, Andrea Gelmini <andrea.gelmini@xxxxxxxxx> wrote: > On Thu, Jan 03, 2019 at 11:52:05AM +0900, Tomasz Chmielewski wrote: > > > Did you use 4.19.x kernels earlier than 4.19.8? > > They had a bug which would corrupt filesystems (mostly ext4 users would be > > reporting it, but I saw it with other filesystems, like xfs and btrfs, too): > > Well, just for the record, it triggers when you have > scsi devices using elevator=none over blkmq. > > And it's not a default/usual configuration. > > So, b11g, can you check please if the NixOS kernel is compiled with these flags? > And/or if they have something like: > scsi_mod.use_blk_mq=1 > in the boot command line? > > Ciao, > Gelma
