Here is a trace of the bcache event related lock in the kernel obtained
with some bpfcc-tools.

klockstat-bpfcc -c bch_ -i 5 -s 3

The trace has been run in parallel with the following command line

echo "Shrinker disabled: $(date)"; sleep 60; echo "Enabling shrinker:
$(date)"; echo 0 | sudo tee
/sys/block/bcache0/bcache/cache/internal/btree_shrinker_disabled ; sleep
60; echo "Disabling shrinker: $(date)"; echo 1 | sudo tee
/sys/block/bcache0/bcache/cache/internal/btree_shrinker_disabled; sleep
60; echo "End of test: $(date)"

The log are here : https://pastebin.canonical.com/p/jVKdbV3RrK/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898786

Title:
  Issue with bcache bch_mca_scan causing huge IO wait

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1898786/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to