[PATCH v2] [RFC] Invalidate BH LRU during page migration

2021-02-10 Thread Chris Goldsworthy
A page containing buffer_heads can be pinned if any of its constituent buffer_heads belongs to the BH LRU cache [1], which can prevent that page from being migrated. After going through several iterations of a patch that attempts to solve this by removing BH entries inside of the drop_buffers() fun

[RFC] Invalidate BH LRU during page migration

2021-02-01 Thread Chris Goldsworthy
A page containing buffer_heads can be pinned if any of its constituent buffer_heads belongs to the BH LRU cache [1]. After going through several iterations of a patch that attempts to solve this by removing BH entries inside of the drop_buffers() function, which in the worst-case could be called fo