aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2018-11-11 22:22:18 +0800
committerDavid Sterba <[email protected]>2018-12-17 14:51:34 +0100
commit05c49e6bc1e8866ecfd674ebeeb58cdbff9145c2 (patch)
tree99df505a980404508a8e38c69f3b22e9214aed92 /tools/perf/scripts/python/stackcollapse.py
parent0d228ece59a35a9b9e8ff0d40653234a6d90f61e (diff)
btrfs: dev-replace: go back to suspend state if another EXCL_OP is running
In a secnario where balance and replace co-exists as below, - start balance - pause balance - start replace - reboot and when system restarts, balance resumes first. Then the replace is attempted to restart but will fail as the EXCL_OP lock is already held by the balance. If so place the replace state back to BTRFS_IOCTL_DEV_REPLACE_STATE_SUSPENDED state. Fixes: 010a47bde9420 ("btrfs: add proper safety check before resuming dev-replace") CC: [email protected] # 4.18+ Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions