when I am trying to delete large files on btrfs, it takes several minutes, and disk is completely locked during this time: other processes are locked on FS API calls.
This makes btrfs unusable on prod system. Anyone knows any workarounds?
Base on research I tried disabling quota, and using following mount options, but it doesn't help: rw,noatime,compress-force=zstd:1,ssd,discard=async,space_cache=v2,commit=120
Thank you!
dkms
module but that's a trivially easy operation and you end up with an advanced modern fs that actually works reliably.truncate
command in shell). It would probably prevent the locking, although ugly.