diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-12 23:47:31 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-02-12 23:47:31 -0800 |
| commit | 39ef4295a6bfb444c731d513cb041f1e770bf178 (patch) | |
| tree | b57686b334339133e42534fede2249e16d6523a9 | |
| parent | e0fc5036ee52cd5df32ce068072a73a590aaea44 (diff) | |
[PATCH] Suppress reiserfs page allocation wanring
From: Nikita Danilov <Nikita@Namesys.COM>
Some stage in reiserfs balancing (fix_nodes() function) has to be performed
without ever scheduling. If it schedules, it has to be restarted. As we
don't want to restart often, we first try to do atomic allocation, and if
it fails, GFP_NOFS allocation is done, and fix_nodes() restarted.
| -rw-r--r-- | fs/reiserfs/fix_node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/fix_node.c b/fs/reiserfs/fix_node.c index 5d88b2164d8b..e16c276dc82a 100644 --- a/fs/reiserfs/fix_node.c +++ b/fs/reiserfs/fix_node.c @@ -2037,7 +2037,7 @@ static int get_mem_for_virtual_node (struct tree_balance * tb) tb->vn_buf_size = size; /* get memory for virtual item */ - buf = reiserfs_kmalloc(size, GFP_ATOMIC, tb->tb_sb); + buf = reiserfs_kmalloc(size, GFP_ATOMIC | __GFP_NOWARN, tb->tb_sb); if ( ! buf ) { /* getting memory with GFP_KERNEL priority may involve balancing now (due to indirect_to_direct conversion on |
