[Devel] [PATCH RH8 07/14] push_backup: Leave pending pbio in pending queue

Kirill Tkhai ktkhai at virtuozzo.com
Mon Sep 6 18:34:46 MSK 2021


Since two pbios going to the same cluster may be linked
both on delayed queue, there is no reasons to remove
picked pbio from list: the same cluster may be picked
again later.

Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 drivers/md/dm-push-backup.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/md/dm-push-backup.c b/drivers/md/dm-push-backup.c
index 9cc2678b4d54..66c55e5aa07f 100644
--- a/drivers/md/dm-push-backup.c
+++ b/drivers/md/dm-push-backup.c
@@ -377,7 +377,6 @@ static int push_backup_read(struct push_backup *pb,
 		spin_unlock_irq(&pb->lock);
 		goto again;
 	}
-	list_del_init(&pbio->list);
 
 	left = pbio->clu;
 	right = find_next_zero_bit(pb->pending_map, pb->nr_clus, left + 1);




More information about the Devel mailing list