diff options
author | Hannes Reinecke <[email protected]> | 2013-07-10 23:41:15 +0100 |
---|---|---|
committer | Alasdair G Kergon <[email protected]> | 2013-07-10 23:41:15 +0100 |
commit | 6c182cd88d179cbbd06f4f8a8a19b6977940753f (patch) | |
tree | 27971aeafbdd2410699e77477565157c67d8ffea /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff) |
dm mpath: fix ioctl deadlock when no paths
When multipath needs to retry an ioctl the reference to the
current live table needs to be dropped. Otherwise a deadlock
occurs when all paths are down:
- dm_blk_ioctl takes a reference to the current table
and spins in multipath_ioctl().
- A new table is being loaded, but upon resume the process
hangs in dm_table_destroy() waiting for references to
drop to zero.
With this patch the reference to the old table is dropped
prior to retry, thereby avoiding the deadlock.
Signed-off-by: Hannes Reinecke <[email protected]>
Cc: Mike Snitzer <[email protected]>
Cc: [email protected]
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions