diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2020-04-02 09:08:53 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2020-04-02 09:08:53 -0700 |
commit | 457df33e035a2cffc6561992f3f25a6c61605c46 (patch) | |
tree | 3aa3c6f5ede2339ed4925a620aa7726c1a125502 /scripts/gdb/linux/timerlist.py | |
parent | d9973ce2fe5bcdc5e01bb3f49833d152b8e166ca (diff) |
iomap: Handle memory allocation failure in readahead
bio_alloc() can fail when we use GFP_NORETRY. If it does, allocate
a bio large enough for a single page like mpage_readpages() does.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions