diff options
author | Gioh Kim <gioh.kim@lge.com> | 2014-09-05 04:36:35 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-09-05 04:36:35 +0200 |
commit | a49058fab2912296f068759490ac69ba43b43861 (patch) | |
tree | e3e9d475166a70128c9d26bd5f1aa64f7a757be1 /fs/jbd2 | |
parent | ext4: use non-movable memory for the ext4 superblock (diff) | |
download | linux-a49058fab2912296f068759490ac69ba43b43861.tar.xz linux-a49058fab2912296f068759490ac69ba43b43861.zip |
jbd/jbd2: use non-movable memory for the jbd superblock
Sicne the jbd/jbd2 superblock is not released until the file system is
unmounted, allocate the buffer cache from the non-moveable area to
allow page migration and CMA allocations to more easily succeed.
Signed-off-by: Gioh Kim <gioh.kim@lge.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/jbd2')
-rw-r--r-- | fs/jbd2/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index 19d74d86d99c..415041c4c40c 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c @@ -1237,7 +1237,7 @@ journal_t * jbd2_journal_init_inode (struct inode *inode) goto out_err; } - bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); + bh = getblk_unmovable(journal->j_dev, blocknr, journal->j_blocksize); if (!bh) { printk(KERN_ERR "%s: Cannot get buffer for journal superblock\n", |