Files
ocf/src/engine
Robert Baldyga fd489e3a30 Fix potential deadlock in discard
HB lock takes inclusive metadata lock, which is taken also by metadata
flush, thus trying to call metadata flush under HB lock attempts to take
this lock recursively. In that case, if in the meantime some other thread
would try to take exclusive metadata lock, the inner inclusive lock would
block (because the lock keeps the order), with outer inclusive lock still
held, leading to a deadlock.

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
2024-03-20 23:35:46 +01:00
..
2022-09-07 23:07:04 +02:00
2022-09-07 23:07:04 +02:00
2021-10-28 13:08:50 +02:00
2022-09-07 23:07:04 +02:00
2022-09-07 23:07:04 +02:00
2022-10-28 15:03:36 +02:00
2021-10-28 13:08:50 +02:00
2021-10-28 13:08:50 +02:00
2021-10-28 13:08:50 +02:00
2022-10-28 15:03:36 +02:00
2021-10-28 13:08:50 +02:00
2022-09-07 23:07:04 +02:00
2021-10-28 13:08:50 +02:00
2022-06-01 22:33:35 +02:00
2021-10-28 13:08:50 +02:00
2021-10-28 13:08:50 +02:00
2022-10-28 15:03:36 +02:00
2021-10-28 13:08:50 +02:00
2022-10-28 15:03:36 +02:00
2021-10-28 13:08:50 +02:00
2022-10-28 15:03:36 +02:00
2021-10-28 13:08:50 +02:00
2022-10-28 15:03:36 +02:00
2021-10-28 13:08:50 +02:00
2022-10-28 15:03:36 +02:00
2021-10-28 13:08:50 +02:00
2022-10-28 15:03:36 +02:00
2021-10-28 13:08:50 +02:00
2022-09-07 23:07:04 +02:00
2021-10-28 13:08:50 +02:00