From: Stefan Behrens Date: Fri, 25 May 2012 14:06:10 +0000 (+0200) Subject: Btrfs: read device stats on mount, write modified ones during commit X-Git-Tag: v3.5-rc1~17^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=733f4fbbc1083aa343da739f46ee839705d6cfe3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed