Summary: Add too small device to existing Btrfs (seed device), which fails, but results in system instability and multiple call traces. It's understood 256K for extra device is too small, maybe that should fail, but at least the kernel probably shouldn't oops. Steps: # fallocate -l 2g btrfs.img # losetup /dev/loop0 btrfs.img # mkfs.btrfs -dsingle -msingle /dev/loop0 # mount /dev/loop /mnt/0 # cp -a /usr/lib64 /mnt/0 # umount /mnt/0 # btrfstune -S1 /dev/loop0 # mount /dev/loop0 /mnt/0 # modprobe zram # echo 256K > /sys/block/zram0/disksize # btrfs dev add /dev/zram0 /mnt/0 Performing full device TRIM (256.00KiB) ... ERROR: error adding device '/dev/zram0': No space left on device # umount /mnt/0 **\\ shell hangs
Created attachment 213211 [details] 116601 dmesg
btrfs-progs-4.5.1-1.fc25.x86_64