[Devel] [PATCH RHEL8 COMMIT] ploop: Remove track_pio() from ploop_cow_endio()

Konstantin Khorenko khorenko at virtuozzo.com
Mon May 17 19:05:06 MSK 2021


The commit is pushed to "branch-rh8-4.18.0-240.1.1.vz8.5.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-240.1.1.vz8.5.30
------>
commit 495a1bbbac1e955438469946223246a5023c1572
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date:   Mon May 17 19:05:06 2021 +0300

    ploop: Remove track_pio() from ploop_cow_endio()
    
    It's already called from endio
    
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
    
    =====================
    Patchset description:
    
    dm-ploop: Kill loop
    
    Intermediate patches can't be base for bisect.
    
    In scope of https://jira.sw.ru/browse/PSBM-123654
    
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 drivers/md/dm-ploop-map.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/md/dm-ploop-map.c b/drivers/md/dm-ploop-map.c
index bd2e41e379ac..910b139e3c49 100644
--- a/drivers/md/dm-ploop-map.c
+++ b/drivers/md/dm-ploop-map.c
@@ -1026,8 +1026,6 @@ static void ploop_cow_endio(struct pio *cluster_pio, void *data, blk_status_t bi
 	struct ploop *ploop = cow->ploop;
 	unsigned long flags;
 
-	track_pio(ploop, cluster_pio);
-
 	spin_lock_irqsave(&ploop->deferred_lock, flags);
 	list_add_tail(&cluster_pio->list, &ploop->delta_cow_action_list);
 	spin_unlock_irqrestore(&ploop->deferred_lock, flags);


More information about the Devel mailing list