Skip to contentSkip to conversation

jbd2: Add pid and journal device name to the "kjournald2 starting" message

PATCH New Theodore Ts'o 1 participant 1 message Jan 4, 2009 Journalling layer for block devices (JBD2)

lore
Share & tools
lore

Theodore Ts'o

author maintainer
#0 lore raw

PATCH 1/1 jbd2: Add pid and journal device name to the "kjournald2 starting" message

---
 fs/jbd2/journal.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
fs/jbd2/journal.c +3 -2
index b10d728..fe20e40 100644
@@ -131,8 +131,9 @@ static int kjournald2(void *arg)
 	journal->j_task = current;
 	wake_up(&journal->j_wait_done_commit);
 
-	printk(KERN_INFO "kjournald2 starting.  Commit interval %ld seconds\n",
-			journal->j_commit_interval / HZ);
+	printk(KERN_INFO "kjournald2 starting: pid %d, dev %s, "
+	       "commit interval %ld seconds\n", current->pid,
+	       journal->j_devname, journal->j_commit_interval / HZ);
 
 	/*
 	 * And now, wait forever for commit wakeup events.
Signature · 1 line
1.6.0.4.8.g36f27.dirty