metaslab_group_preload() could deadlock
zfs - Zettabyte File System
I noticed that metaslab_group_preload() grabs the mg_lock and then later tries to grab the metaslab lock. This lock ordering may lead to a deadlock since other consumers of the mg_lock will grab the metaslab lock first.
Updated by Electric Monk over 6 years ago
- Status changed from Resolved to Closed
commit 30beaff42d8240ebf5386e8b7a14e3d137a1631f Author: George Wilson <firstname.lastname@example.org> Date: 2014-06-12T23:29:11.000Z 4756 metaslab_group_preload() could deadlock Reviewed by: Matthew Ahrens <email@example.com> Reviewed by: Christopher Siden <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Reviewed by: Saso Kiselkov <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>