ext4: Track lifetime disk writes
commitafc32f7ee9febc020c73da61402351d4c90437f3
authorTheodore Ts'o <tytso@mit.edu>
Sun, 1 Mar 2009 00:39:58 +0000 (28 19:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 1 Mar 2009 00:39:58 +0000 (28 19:39 -0500)
tree7b78aaaac87eb704074f6ece996b2c78a69fbe18
parentd6014301b5599fba395c42a1e96a7fe86f7d0b2d
ext4: Track lifetime disk writes

Add a new superblock value which tracks the lifetime amount of writes
to the filesystem.  This is useful in estimating the amount of wear on
solid state drives (SSD's) caused by writes to the filesystem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ext4_sb.h
fs/ext4/super.c