aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-07-27 11:56:04 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-07-27 11:56:04 -0400
commit66e61a9e9504f61b9a928c9055368c81da613a50 (patch)
treeafcd8147b4e4771103f75f5a03b836950882dece /fs/ext4/ext4.h
parent1c13d5c0872870cca3e612aa045d492ead9ab004 (diff)
ext4: Once a day, printk file system error information to dmesg
This allows us to grab any file system error messages by scraping /var/log/messages. This will make it easy for us to do error analysis across the very large number of machines as we deploy ext4 across the fleet. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 6b96125e7255..5d3d768d9503 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1166,6 +1166,9 @@ struct ext4_sb_info {
1166 1166
1167 /* workqueue for dio unwritten */ 1167 /* workqueue for dio unwritten */
1168 struct workqueue_struct *dio_unwritten_wq; 1168 struct workqueue_struct *dio_unwritten_wq;
1169
1170 /* timer for periodic error stats printing */
1171 struct timer_list s_err_report;
1169}; 1172};
1170 1173
1171static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) 1174static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb)