invalidate_bdev() has no good reason to lru_add_drain_all(), now that the per-cpu fbatch references are gone; but keep doing invalidate_bh_lrus(). Signed-off-by: Hugh Dickins --- block/bdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/bdev.c b/block/bdev.c index cd8323083740..853545b29b7f 100644 --- a/block/bdev.c +++ b/block/bdev.c @@ -97,7 +97,6 @@ void invalidate_bdev(struct block_device *bdev) if (mapping->nrpages) { invalidate_bh_lrus(); - lru_add_drain_all(); /* make sure all lru add caches are flushed */ invalidate_mapping_pages(mapping, 0, -1); } } -- 2.51.0