diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-09-27 05:40:16 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-03 08:38:17 -0600 |
commit | 640ab98fb3629c0f8417b9b2532eca596495f3bb (patch) | |
tree | 59f6d84e07327e6b94473bcd66e7366582b7f85b /fs/inode.c | |
parent | 7beb2f845b715cb98584cf630e9a9d5b05501166 (diff) | |
download | op-kernel-dev-640ab98fb3629c0f8417b9b2532eca596495f3bb.zip op-kernel-dev-640ab98fb3629c0f8417b9b2532eca596495f3bb.tar.gz |
buffer: have alloc_page_buffers() use __GFP_NOFAIL
Instead of adding weird retry logic in that function, utilize
__GFP_NOFAIL to ensure that the vm takes care of handling any
potential retries appropriately. This means we don't have to
call free_more_memory() from here.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions