mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
b714c7ebc6
If clvmd does not hold any lock, it should also not keep any opened device. The reason for this patch is, that refresh_toolcontext calls dev_cache_exit() which destroys whole device cache (even those with opened file) - previous patch added recovery path to avoid memory corruption, but opened files are still bugs that need to be fixed. So this patch certainly kills many internal mirror & raid tests, since they leak opened file descriptors (when tests are executed with 'abort_on_error').