summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-11-17 13:11:47 +0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 19:58:09 +0400
commit975b297947c85a1cb687d7561b6fc05d48160026 (patch)
treee72ba4a70a1d532c5eff3764f4481485313721a6 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent77fede5137574813e415a4cf23038b6688ba2470 (diff)
downloadlinux-975b297947c85a1cb687d7561b6fc05d48160026.tar.xz
drbd: fix potential spinlock deadlock
drbd_try_clear_on_disk_bm() has a sanity check for the number of blocks left to be resynced (rs_left) in the current resync extent. If it detects a mismatch, it complains, and forces a disconnect using drbd_force_state(mdev, NS(conn, C_DISCONNECTING)); Unfortunately, this may be called while holding the req_lock, and drbd_force_state() want's to aquire that lock itself. Deadlock. Don't force a disconnect, but fix up rs_left by recounting and reassigning the number of dirty blocks in that extent. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions