Re: [PATCH 2/2] btrfs: drop gfp mask tweaking in try_release_extent_state

2017-01-11 Thread David Sterba
On Mon, Jan 09, 2017 at 03:39:03PM +0100, Michal Hocko wrote: > From: Michal Hocko > > try_release_extent_state reduces the gfp mask to GFP_NOFS if it is > compatible. This is true for GFP_KERNEL as well. There is no real > reason to do that though. There is no new lock taken down the > the only

[PATCH 2/2] btrfs: drop gfp mask tweaking in try_release_extent_state

2017-01-09 Thread Michal Hocko
From: Michal Hocko try_release_extent_state reduces the gfp mask to GFP_NOFS if it is compatible. This is true for GFP_KERNEL as well. There is no real reason to do that though. There is no new lock taken down the the only consumer of the gfp mask which is try_release_extent_state clear_extent_