[Devel] [PATCH RH8 7/8] ploop: Do not try to track bios on resize

Kirill Tkhai ktkhai at virtuozzo.com
Tue May 11 11:46:23 MSK 2021


Since resize is not possible in parallel with tracking,
this is always noop.

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

diff --git a/drivers/md/dm-ploop-cmd.c b/drivers/md/dm-ploop-cmd.c
index e150edc4136f..139dffca1ce5 100644
--- a/drivers/md/dm-ploop-cmd.c
+++ b/drivers/md/dm-ploop-cmd.c
@@ -198,7 +198,6 @@ static int ploop_write_cluster_sync(struct ploop *ploop, struct bio *bio,
 	bio_set_op_attrs(bio, REQ_OP_WRITE, REQ_FUA | REQ_PREFLUSH);
 
 	ret = submit_bio_wait(bio);
-	track_bio(ploop, bio);
 	if (ret)
 		return ret;
 




More information about the Devel mailing list