diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-09-14 16:00:06 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 10:32:28 -0700 |
| commit | e509ad4d77e6c8852f082104e388110d16fdfb97 (patch) | |
| tree | a175c05a45e4e48f0a24a16227e323fda282fd27 /include/linux/debugobjects.h | |
| parent | 3ed65f04aac4d1cd025f30ee3fac174bcbf2b018 (diff) | |
ext4: use bdev_getblk() to avoid memory reclaim in readahead path
sb_getblk_gfp 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]>
Reported-by: Hui Zhu <[email protected]>
Closes: https://lore.kernel.org/linux-fsdevel/[email protected]/
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions