mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-09 00:00:17 +03:00
bcachefs is using a percpu rwsem to protect percpu data structures, and in userspace we don't have real percpu data structures - so we need to guard all access to them with a mutex.