Romain LE DISEZ 014d46f9a7 Fix SSYNC concurrency on partition
Commit e199192caefef068b5bf57da8b878e0bc82e3453 introduced the ability
to have multiple SSYNC running on a single device. It misses a security
to ensure that only one SSYNC request can be running on a partition.

This commit update replication_lock to lock N times the device, then
lock once the partition related to a SSYNC request.

Change-Id: Id053ed7dd355d414d7920dda79a968a1c6677c14
2018-12-04 14:47:26 +01:00
..
2018-09-19 14:59:32 -07:00
2018-12-04 14:47:26 +01:00