[Devel] [PATCH rh7 0/2] ploop: push_backup: implement separate lockout tree

Maxim Patlasov mpatlasov at virtuozzo.com
Thu Jun 2 16:52:21 PDT 2016


The patch set firstly reverts ALLOW_READS hack that was needed to
reuse plo->lockout_tree for push_backup needs, then adds new lockout
tree for push_backup needs: plo->lockout_pb_tree.

This solves an issue revealed by PSBM-47680: it is possible that
plo->lockout_tree is already occupied by a WRITE request waiting for ACK
from backup tool, but then the tool generates a READ request that wants
to occupy that slot already busy by the WRITE. See per-patch descriptions
for details

https://jira.sw.ru/browse/PSBM-47680

---

Maxim Patlasov (2):
      ploop: push_backup: roll back ALLOW_READS patch
      ploop: push_backup: rework lockout machinery


 drivers/block/ploop/dev.c    |  118 ++++++++++++++++++++++++++++++++----------
 drivers/block/ploop/events.h |    1 
 include/linux/ploop/ploop.h  |    4 +
 3 files changed, 95 insertions(+), 28 deletions(-)

--
Signature


More information about the Devel mailing list