diff options
author | 2020-04-02 09:08:53 -0700 | |
---|---|---|
committer | 2020-04-02 09:08:53 -0700 | |
commit | 457df33e035a2cffc6561992f3f25a6c61605c46 (patch) | |
tree | 3aa3c6f5ede2339ed4925a620aa7726c1a125502 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iomap: fix comments in iomap_dio_rw (diff) | |
download | linux-dev-457df33e035a2cffc6561992f3f25a6c61605c46.tar.xz linux-dev-457df33e035a2cffc6561992f3f25a6c61605c46.zip |
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) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions