[alternative-merged] jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: jbd/jbd2: use non-movable memory for the jbd superblock
has been removed from the -mm tree.  Its filename was
     jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock.patch

This patch was dropped because an alternative patch was merged

------------------------------------------------------
From: Gioh Kim <gioh.kim@xxxxxxx>
Subject: jbd/jbd2: use non-movable memory for the jbd superblock

A long-lasting buffer-cache can distrub page migration so that it must be
allocated from non-movable area.

The journal_init_inode is creating a buffer-cache for superblock
journaling.  The superblock exists until system shutdown so that the
buffer-cache for the superblock would also exist for a long time and it
can distrub page migration.

This patch make the buffer-cache be allocated from non-movable area not to
distrub page migration.

Signed-off-by: Gioh Kim <gioh.kim@xxxxxxx>
Reviewed-by: Jan Kara <jack@xxxxxxx>
Cc: "Theodore Ts'o" <tytso@xxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: Andreas Dilger <adilger.kernel@xxxxxxxxx>
Cc: Minchan Kim <minchan@xxxxxxxxxx>
Cc: Joonsoo Kim <js1304@xxxxxxxxx>
Cc: Gunho Lee <gunho.lee@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/jbd/journal.c  |    2 +-
 fs/jbd2/journal.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN fs/jbd/journal.c~jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock fs/jbd/journal.c
--- a/fs/jbd/journal.c~jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock
+++ a/fs/jbd/journal.c
@@ -886,7 +886,7 @@ journal_t * journal_init_inode (struct i
 		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",
diff -puN fs/jbd2/journal.c~jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock fs/jbd2/journal.c
--- a/fs/jbd2/journal.c~jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock
+++ a/fs/jbd2/journal.c
@@ -1237,7 +1237,7 @@ journal_t * jbd2_journal_init_inode (str
 		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",
_

Patches currently in -mm which might be from gioh.kim@xxxxxxx are

linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux