[Devel] [PATCH RH8 01/22] ploop: Remove absolet comment

Kirill Tkhai ktkhai at virtuozzo.com
Wed Jun 30 13:32:57 MSK 2021


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

diff --git a/drivers/md/dm-ploop-map.c b/drivers/md/dm-ploop-map.c
index cab9dea72fd8..a2737e9beac3 100644
--- a/drivers/md/dm-ploop-map.c
+++ b/drivers/md/dm-ploop-map.c
@@ -684,12 +684,6 @@ static void ploop_advance_local_after_bat_wb(struct ploop *ploop,
 			bat_entries[i] = dst_clu[i];
 			md->bat_levels[i] = top_level(ploop);
 		} else {
-			/*
-			 * Despite set_bit() is atomic, we take read_lock()
-			 * to access ploop->bat_entries[] above (really it's
-			 * not need, since new wb to this page can't start
-			 * before this wb is ended).
-			 */
 			ploop_hole_set_bit(i + off, ploop);
 		}
 	}




More information about the Devel mailing list