summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4_sb.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/ext4_sb.h')
-rw-r--r--fs/ext4/ext4_sb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ext4/ext4_sb.h b/fs/ext4/ext4_sb.h
index 4e4d9cc3f40..50ab1169c37 100644
--- a/fs/ext4/ext4_sb.h
+++ b/fs/ext4/ext4_sb.h
@@ -142,6 +142,10 @@ struct ext4_sb_info {
/* locality groups */
struct ext4_locality_group *s_locality_groups;
+ /* for write statistics */
+ unsigned long s_sectors_written_start;
+ u64 s_kbytes_written;
+
unsigned int s_log_groups_per_flex;
struct flex_groups *s_flex_groups;
};