diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-09-14 16:00:07 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 10:32:28 -0700 |
| commit | 775d9b10530a0a303dc08a9cdb2ed1f8667d9c5f (patch) | |
| tree | 157362cfc271d97a451dafe0fbee9d3dc1467fb3 /include/linux/debugobjects.h | |
| parent | e509ad4d77e6c8852f082104e388110d16fdfb97 (diff) | |
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/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Hui Zhu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions