commit | 733f4fbbc1083aa343da739f46ee839705d6cfe3 | [log] [tgz] |
---|---|---|
author | Stefan Behrens <sbehrens@giantdisaster.de> | Fri May 25 16:06:10 2012 +0200 |
committer | Josef Bacik <josef@redhat.com> | Wed May 30 10:23:41 2012 -0400 |
tree | 0c6dab9e8610eb9b4ccd9a6453caa1588583b1b8 | |
parent | c11d2c236cc260b36ef644700fbe99bcc7e7da33 [diff] |
Btrfs: read device stats on mount, write modified ones during commit The device statistics are written into the device tree with each transaction commit. Only modified statistics are written. When a filesystem is mounted, the device statistics for each involved device are read from the device tree and used to initialize the counters. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>