Files
mirror_zfs/include
Ameer Hamza ab3db6d15d arc: avoid possible deadlock in arc_read
In l2arc_evict(), the config lock may be acquired in reverse order
(e.g., first the config lock (writer), then a hash lock) unlike in
arc_read() during scenarios like L2ARC device removal. To avoid
deadlocks, if the attempt to acquire the config lock (reader) fails
in arc_read(), release the hash lock, wait for the config lock, and
retry from the beginning.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #17071
2025-02-25 14:32:12 -05:00
..
2023-03-14 15:25:50 -07:00
2024-02-05 10:00:41 -08:00
2024-09-04 14:17:02 -07:00
2024-09-04 14:17:02 -07:00
2024-10-02 20:47:11 -07:00