[Devel] [PATCH] ploop: Clear abort bit on replace delta
Kirill Tkhai
ktkhai at virtuozzo.com
Wed Apr 17 14:54:42 MSK 2019
New delta should perform IO well, so clear the bit
to allow bio handling.
https://pmc.acronis.com/browse/VSTOR-22414
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
drivers/block/ploop/dev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/block/ploop/dev.c b/drivers/block/ploop/dev.c
index 8d93a2a861bd..7d4e5f2f8d38 100644
--- a/drivers/block/ploop/dev.c
+++ b/drivers/block/ploop/dev.c
@@ -3398,6 +3398,7 @@ static int ploop_replace_delta(struct ploop_device * plo, unsigned long arg)
ploop_quiesce(plo);
ploop_map_destroy(&plo->map);
list_replace_init(&old_delta->list, &delta->list);
+ clear_bit(PLOOP_S_ABORT, &plo->state);
spin_lock_irq(plo->queue->queue_lock);
queue_flag_clear(QUEUE_FLAG_STANDBY, plo->queue);
More information about the Devel
mailing list