diff options
| author | Jens Axboe <[email protected]> | 2017-09-27 11:45:36 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-10-03 14:38:17 +0000 |
| commit | 94dc24c0c59a224a093f110060d01c2c620f275a (patch) | |
| tree | 13d901e901caf86342e4e47dabfeb5b5a4f5f7dc /fs/fs-writeback.c | |
| parent | buffer: have alloc_page_buffers() use __GFP_NOFAIL (diff) | |
| download | kernel-94dc24c0c59a224a093f110060d01c2c620f275a.tar.gz kernel-94dc24c0c59a224a093f110060d01c2c620f275a.zip | |
buffer: grow_dev_page() should use __GFP_NOFAIL for all cases
We currently use it for find_or_create_page(), which means that it
cannot fail. Ensure we also pass in 'retry == true' to
alloc_page_buffers(), which also ensure that it cannot fail.
After this, there are no failure cases in grow_dev_page() that
occur because of a failed memory allocation.
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions
