Re: [PATCH 2/2] ext4: make use of sb_getblk_gfp

2015-07-02 Thread Theodore Ts'o
On Thu, Jul 02, 2015 at 09:16:34AM +0300, Nikolay Borisov wrote: > > Just a question that popped to my mind after discussing with a colleague > - Is GFP_NOFS enough here or should it be GFP_NOIO? Presumably the > latter is a stronger guarantee that we are not going to hit any > fs/writeback relate

Re: [PATCH 2/2] ext4: make use of sb_getblk_gfp

2015-07-01 Thread Nikolay Borisov
On 07/02/2015 09:14 AM, Theodore Ts'o wrote: > On Tue, Jun 30, 2015 at 09:26:49AM +0300, Nikolay Borisov wrote: >> Switch ext4 to using sb_getblk_gfp with GFP_NOFS added, this fixes >> possible deadlocks in the page writeback path. >> >> Signed-off-by: Nikolay Borisov > > I've added this to the e

Re: [PATCH 2/2] ext4: make use of sb_getblk_gfp

2015-07-01 Thread Theodore Ts'o
On Tue, Jun 30, 2015 at 09:26:49AM +0300, Nikolay Borisov wrote: > Switch ext4 to using sb_getblk_gfp with GFP_NOFS added, this fixes > possible deadlocks in the page writeback path. > > Signed-off-by: Nikolay Borisov I've added this to the ext4.git tree, thanks.

[PATCH 2/2] ext4: make use of sb_getblk_gfp

2015-06-29 Thread Nikolay Borisov
Switch ext4 to using sb_getblk_gfp with GFP_NOFS added, this fixes possible deadlocks in the page writeback path. Signed-off-by: Nikolay Borisov --- fs/ext4/extents.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index e003a1e