Open
Description
Moved discussion keypoints from #2990:
@formanirh, don't you think there can be race when one thread does
refresh_lists() -> lv_clean_read_state() -> free_block_devices()/free_interface_devices()/ free_domains(state) and another thread is inside of lv_read() and uses these structures?
refresh_lists() is done per instance, but there is another issue then: When one of read threads updates last_refresh then other threads will not be updated. I think last_refresh should be instance variable, not global.
cc @formanirh