commit | 442a4f6308e694e0fa6025708bd5e4e424bbf51c | [log] [tgz] |
---|---|---|
author | Stefan Behrens <sbehrens@giantdisaster.de> | Fri May 25 16:06:08 2012 +0200 |
committer | Josef Bacik <josef@redhat.com> | Wed May 30 10:23:39 2012 -0400 |
tree | e782db1bcbec25283048d77871e0bed7ad04567c | |
parent | d07eb9117050c9ed3f78296ebcc06128b52693be [diff] |
Btrfs: add device counters for detected IO and checksum errors The goal is to detect when drives start to get an increased error rate, when drives should be replaced soon. Therefore statistic counters are added that count IO errors (read, write and flush). Additionally, the software detected errors like checksum errors and corrupted blocks are counted. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>