Hi,
As is known to all, sanlock can manage and protect the meta-data which would be modified one by one.
Sanlock can be used as the cluster lock with the ids file and lease file. Paxos lease ensures the consistence between all the nodes.
In the condition of modifying LVM meta-data(create, delete, extend, and etc) , the sanlock acquire function would be called to lock the block(LUN). Once the operation finished, we could call the sanlock release function to unlock the block.In this case, we could no longer maintain the two modules(mailbox and SPM).