diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-05-26 10:28:28 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-05-26 10:28:28 -0400 |
commit | cd0b6a39a1d68b61b1073662f40f747c8b728f98 (patch) | |
tree | 909c7e8e06ac74d89be5d5e94d2e3e562bf801bd /fs | |
parent | 624080eded68738daee041ad64672a9d2614754f (diff) | |
download | op-kernel-dev-cd0b6a39a1d68b61b1073662f40f747c8b728f98.zip op-kernel-dev-cd0b6a39a1d68b61b1073662f40f747c8b728f98.tar.gz |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index d01a32e..ba92c60 100644 --- a/fs/ext4/super.c +++ b/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)) seq_puts(seq, ",barrier=1"); + if (test_opt(sb, JOURNAL_ASYNC_COMMIT)) + seq_puts(seq, ",journal_async_commit"); if (test_opt(sb, NOBH)) seq_puts(seq, ",nobh"); if (!test_opt(sb, EXTENTS)) |