[PATCH 1/2] btrfs: Prevent from early transaction abort

2015-08-19 Thread mhocko
From: Michal Hocko Btrfs relies on GFP_NOFS allocation when committing the transaction but this allocation context is rather weak wrt. reclaim capabilities. The page allocator currently tries hard to not fail these allocations if they are small (<=PAGE_ALLOC_COSTLY_ORDER) so this is not a

[PATCH 1/2] btrfs: Prevent from early transaction abort

2015-08-19 Thread mhocko
From: Michal Hocko mho...@suse.com Btrfs relies on GFP_NOFS allocation when committing the transaction but this allocation context is rather weak wrt. reclaim capabilities. The page allocator currently tries hard to not fail these allocations if they are small (=PAGE_ALLOC_COSTLY_ORDER) so this