diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-09-14 18:00:07 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 20:32:28 +0300 |
commit | 775d9b10530a0a303dc08a9cdb2ed1f8667d9c5f (patch) | |
tree | 157362cfc271d97a451dafe0fbee9d3dc1467fb3 /COPYING | |
parent | e509ad4d77e6c8852f082104e388110d16fdfb97 (diff) | |
download | linux-775d9b10530a0a303dc08a9cdb2ed1f8667d9c5f.tar.xz |
buffer: use bdev_getblk() to avoid memory reclaim in readahead path
__getblk() adds __GFP_NOFAIL, which is unnecessary for readahead; we're
quite comfortable with the possibility that we may not get a bh back.
Switch to bdev_getblk() which does not include __GFP_NOFAIL.
Link: https://lkml.kernel.org/r/20230914150011.843330-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Hui Zhu <teawater@antgroup.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions