diff options
| author | 2014-08-14 18:33:30 +0200 | |
|---|---|---|
| committer | 2015-11-25 09:22:00 -0700 | |
| commit | 28bc3b8c71cda033a4c013131c635d1148889824 (patch) | |
| tree | ceb03e905cdee0d06cd169f8affe46f722fd14d8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | drbd: drbd_adm_attach(): Add missing drbd_resync_after_changed() (diff) | |
drbd: Fix locking across all resources
Instead of using a rwlock for synchronizing state changes across
resources, take the request locks of all resources for global state
changes. Use resources_mutex to serialize global state changes.
This means that taking the request lock of a resource is now enough to
prevent changes of that resource. (Previously, a read lock on the
global state lock was needed as well.)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
