jbd/jbd2: use non-movable memory for the jbd superblock
authorGioh Kim <gioh.kim@lge.com>
Fri, 5 Sep 2014 02:36:35 +0000 (22:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 5 Sep 2014 02:36:35 +0000 (22:36 -0400)
commita49058fab2912296f068759490ac69ba43b43861
treee3e9d475166a70128c9d26bd5f1aa64f7a757be1
parenta8ac900b8163703340a2fdad11c32f96b8fe686d
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>
fs/jbd/journal.c
fs/jbd2/journal.c