aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorStefan Behrens <[email protected]>2012-05-25 14:06:10 +0000
committerJosef Bacik <[email protected]>2012-05-30 14:23:41 +0000
commit733f4fbbc1083aa343da739f46ee839705d6cfe3 (patch)
tree0c6dab9e8610eb9b4ccd9a6453caa1588583b1b8 /fs/jbd2/commit.c
parentBtrfs: add ioctl to get and reset the device stats (diff)
downloadkernel-733f4fbbc1083aa343da739f46ee839705d6cfe3.tar.gz
kernel-733f4fbbc1083aa343da739f46ee839705d6cfe3.zip
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 <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions