[PATCH 01/24] block: remove the call to __invalidate_device in check_disk_size_change

2020-11-06 Thread Christoph Hellwig
__invalidate_device without the kill_dirty parameter just invalidates various clean entries in caches, which doesn't really help us with anything, but can cause all kinds of horrible lock orders due to how it calls into the file system. The only reason this hasn't been a major issue is because so

[PATCH 01/24] block: remove the call to __invalidate_device in check_disk_size_change

2020-11-11 Thread Christoph Hellwig
__invalidate_device without the kill_dirty parameter just invalidates various clean entries in caches, which doesn't really help us with anything, but can cause all kinds of horrible lock orders due to how it calls into the file system. The only reason this hasn't been a major issue is because so

Re: [PATCH 01/24] block: remove the call to __invalidate_device in check_disk_size_change

2020-11-11 Thread Hannes Reinecke
On 11/11/20 9:26 AM, Christoph Hellwig wrote: __invalidate_device without the kill_dirty parameter just invalidates various clean entries in caches, which doesn't really help us with anything, but can cause all kinds of horrible lock orders due to how it calls into the file system. The only reas