Romain LE DISEZ e199192cae Replace replication_one_per_device by custom count
This commit replaces boolean replication_one_per_device by an integer
replication_concurrency_per_device. The new configuration parameter is
passed to utils.lock_path() which now accept as an argument a limit for
the number of locks that can be acquired for a specific path.

Instead of trying to lock path/.lock, utils.lock_path() now tries to lock
files path/.lock-X, where X is in the range (0, N), N being the limit for
the number of locks allowed for the path. The default value of limit is
set to 1.

Change-Id: I3c3193344c7a57a8a4fc7932d1b10e702efd3572
2017-10-24 16:17:41 +01:00
..
2017-01-16 15:16:37 +07:00
2017-07-12 12:14:45 -07:00
2014-06-19 10:18:34 -07:00
2014-02-20 16:15:48 +08:00
2010-07-12 17:03:45 -05:00
2017-07-12 12:14:45 -07:00
2014-06-19 10:18:34 -07:00
2017-06-13 09:23:23 -07:00
2017-06-13 09:23:23 -07:00
2017-05-15 16:42:00 -07:00