koverstreet / bcachefs

Other
686 stars 71 forks source link

qbittorrent freezes after several hours of seeding from bcachefs system #597

Open NikolayKuzmin opened 1 year ago

NikolayKuzmin commented 1 year ago

qbittorrent freezes after about 1/2 day of working. Bug is somewhat stable. Process can't be killed with SIGKILL, so I assume it is kernel freeze. Shutdown afterward takes several minutes. qbittorrent works on directory with specific target attributes: background_target="hdd.smr" # a group containing one hdd smr drive (hdd.smr.smr1) foreground_target="hdd.cmr" promote_target="none" qbittorrent isn't downloading anything so I assume many random reads cause hangup.

Note: SMR drive formatted with bigger (16MiB) bucket size. I assume this should force filesystem driver to write data with continuous chunks

Version 6.5.1.arch1.r1204754.1336a995cbc3

Generic info bcachefs_fs_usage.txt bcachefs_show-super.txt

Unfortunately, current kernel is compiled without CONFIG_BCACHEFS_DEBUG=y, I've recompiled with it, will add with comment when issue will occur again. dmesg.txt

NikolayKuzmin commented 1 year ago

in case this is important: bcachefs tool version v0.1-700-g1c156d5

NikolayKuzmin commented 1 year ago

Here is dmesg output with debug option set. Though it doesn't look any different dmesg.txt