]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs scrub: added unverified_errors
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Mon, 13 Jun 2011 17:56:13 +0000 (19:56 +0200)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Nov 2011 01:02:38 +0000 (20:02 -0500)
commit3e4d2164bcf6fc09ef95ffd22fa0c2d48185867f
tree8addee75891390d1e9bf6d3fd3f08b55ceea47b6
parent713bf6acd4cba251fbcf847d0bdaafbf7d76016b
btrfs scrub: added unverified_errors

In normal operation, scrub is reading data sequentially in large portions.
In case of an i/o error, we try to find the corrupted area(s) by issuing
page sized read requests. With this commit we increment the
unverified_errors counter if all of the small size requests succeed.

Userland patches carrying such conspicous events to the administrator should
already be around.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
(cherry picked from commit 13db62b7a1e8c64763a93c155091620f85ff8920)
fs/btrfs/scrub.c