Seagate / propeller

Customized lvmlockd
GNU General Public License v2.0
4 stars 7 forks source link

ilm: lock: Refactor cached device mapper #74

Closed Leo-Yan closed 4 years ago

Leo-Yan commented 4 years ago

This patch changes to always to firstly traverse device path from device mapper to SCSI generic node, and if find any mapping between them and try to update the cached device mapper. This is avoid to always use the stale device mapping info rather than miss to explore the updated device mapping.

Signed-off-by: Leo Yan leo.yan@linaro.org