The hunk being reverted was brought by the initial commit 2a8b5de959180.
The problem this hunk addresses, i.e. potential live lock in
grow_dev_page (see PSBM-12523 for more details), has been fixed upstream
and the following patch backports the fix.

Signed-off-by: Vladimir Davydov <vdavy...@parallels.com>
---
 fs/buffer.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fs/buffer.c b/fs/buffer.c
index 7850c9b50f20..2d0e29193feb 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -1014,8 +1014,7 @@ grow_dev_page(struct block_device *bdev, sector_t block,
        int ret = 0;            /* Will call free_more_memory() */
 
        page = find_or_create_page(inode->i_mapping, index,
-               (mapping_gfp_mask(inode->i_mapping) & ~__GFP_FS) |
-               __GFP_MOVABLE | __GFP_NOFAIL);
+               (mapping_gfp_mask(inode->i_mapping) & ~__GFP_FS)|__GFP_MOVABLE);
        if (!page)
                return ret;
 
-- 
2.1.4

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to