Re: [PATCH] ext4: handle the rest of ext4_mb_load_buddy() ENOMEM errors

2017-05-20 Thread Theodore Ts'o
On Fri, May 19, 2017 at 10:09:54AM +0300, Konstantin Khlebnikov wrote: > I've got another report about breaking ext4 by ENOMEM error returned from > ext4_mb_load_buddy() caused by memory shortage in memory cgroup. > This time inside ext4_discard_preallocations(). > > This patch replaces ext4_error

[PATCH] ext4: handle the rest of ext4_mb_load_buddy() ENOMEM errors

2017-05-19 Thread Konstantin Khlebnikov
I've got another report about breaking ext4 by ENOMEM error returned from ext4_mb_load_buddy() caused by memory shortage in memory cgroup. This time inside ext4_discard_preallocations(). This patch replaces ext4_error() with ext4_warning() where errors returned from ext4_mb_load_buddy() are not fa