Re: [PATCH] btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 15, 2018 at 11:19:40AM +0200, Nikolay Borisov wrote:
> This function was introduced by 247e743cbe6e ("Btrfs: Use async helpers
> to deal with pages that have been improperly dirtied") and it didn't do
> any error handling then. This function might very well fail in ENOMEM
> situation, yet it's not handled, this could lead to inconsistent state.
> So let's handle the failure by setting the mapping error bit.
> 
> Signed-off-by: Nikolay Borisov <nborisov@xxxxxxxx>
> ---
> 
> Here is the 4.4 backport for upstream commit
> f3038ee3a3f1017a1cbe9907e31fa12d366c5dcb

Thanks for all 3 of these, now queued up.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]