[Devel] [PATCH RH8 59/61] ploop: Remove track_pio() from ploop_cow_endio()

Kirill Tkhai ktkhai at virtuozzo.com
Fri May 14 18:59:52 MSK 2021


It's already called from endio

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