OSDN Git Service

block/replication: drop extra synchronization
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 19 Sep 2018 12:43:42 +0000 (15:43 +0300)
committerKevin Wolf <kwolf@redhat.com>
Fri, 14 Dec 2018 10:52:40 +0000 (11:52 +0100)
commite4f9752c4a9c1b5d33bf6494aaff261b401933f2
tree7bf73a071b1e118d1f328aada8dfa40b858147cf
parent95a156f689269da57e42dd1b001ea86c0877ed86
block/replication: drop extra synchronization

After commit f8d59dfb40
    "block/backup: fix fleecing scheme: use serialized writes" fleecing
(specifically reading from backup target, when backup source is in
backing chain of backup target) is safe, because all backup-job writes
to target are serialized. Therefore we don't need additional
synchronization for these reads.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/replication.c