commit | adb7ef600cc9d9d15ecc934cc26af5c1379777df | [log] [tgz] |
---|---|---|
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | Sun Mar 13 17:29:06 2016 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Mar 13 17:29:06 2016 -0400 |
tree | 9e3e1c7ab516d9646e00bd3954c501dd9a0ac0d2 | |
parent | a2821e34df141ac6019552618b57fa09227ff0dd [diff] |
ext4: use __GFP_NOFAIL in ext4_free_blocks() This might be unexpected but pages allocated for sbi->s_buddy_cache are charged to current memory cgroup. So, GFP_NOFS allocation could fail if current task has been killed by OOM or if current memory cgroup has no free memory left. Block allocator cannot handle such failures here yet. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: Theodore Ts'o <tytso@mit.edu>