[Devel] [PATCH RHEL8 COMMIT] push_backup: Leave pending pbio in pending queue

Konstantin Khorenko khorenko at virtuozzo.com
Fri Sep 10 20:16:46 MSK 2021


The commit is pushed to "branch-rh8-4.18.0-305.3.1.vz8.7.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-305.3.1.vz8.7.11
------>
commit 7afaf6e59463239d3c1f4bb4defe0d1f0c056dff
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date:   Fri Sep 10 20:16:46 2021 +0300

    push_backup: Leave pending pbio in pending queue
    
    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>
    
    ====================
    push_backup: Make target !immutable.
    
    https://jira.sw.ru/browse/PSBM-127989
    
    Kirill Tkhai (14):
          push_backup: Rename ppb_map
          push_backup: Add unsigned long alignment
          push_backup: Add pending_map
          push_backup: Kill find_node_pbio_range()
          push_backup: Use nr_delayed in postpone_if_required_for_backup()
          push_backup: Introduce hash table
          push_backup: Leave pending pbio in pending queue
          push_backup: Do not split bios by cluster size
          dm: Allow singleton target with devices attached
          dm: Introduce dm_requeue_original_rq()
          push_backup: Make it request based
          push_backup: Change retval postpone_if_required_for_backup()
          push_backup: Change arguments of calc_bio_clusters()
          push_backup: Make the target !immutable
---
 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