Browse Source

ext4: Display the journal_async_commit mount option in /proc/mounts

Cc: Andreas Dilger <adilger@clusterfs.com>
Cc: Girish Shilamkar <girish@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Theodore Ts'o 17 years ago
parent
commit
cd0b6a39a1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      fs/ext4/super.c

+ 2 - 0
fs/ext4/super.c

@@ -731,6 +731,8 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs)
 	}
 	}
 	if (test_opt(sb, BARRIER))
 	if (test_opt(sb, BARRIER))
 		seq_puts(seq, ",barrier=1");
 		seq_puts(seq, ",barrier=1");
+	if (test_opt(sb, JOURNAL_ASYNC_COMMIT))
+		seq_puts(seq, ",journal_async_commit");
 	if (test_opt(sb, NOBH))
 	if (test_opt(sb, NOBH))
 		seq_puts(seq, ",nobh");
 		seq_puts(seq, ",nobh");
 	if (!test_opt(sb, EXTENTS))
 	if (!test_opt(sb, EXTENTS))