summaryrefslogtreecommitdiff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2012-11-02 15:14:21 (GMT)
committerJosef Bacik <jbacik@fusionio.com>2012-12-12 22:15:31 (GMT)
commitcb2ced73d8c7a38b5f699e267deadf2a2cfe911c (patch)
tree52d23d374ae31faac4d63b031387e532f577b895 /fs/gfs2
parent7a9e9987681198c56ac7f165725ca322d7a196e1 (diff)
downloadlinux-cb2ced73d8c7a38b5f699e267deadf2a2cfe911c.tar.xz
Btrfs: in scrub repair code, optimize the reading of mirrors
In case that disk blocks need to be repaired (rewritten), the current code at first (for simplicity reasons) reads all alternate mirrors in the first step, afterwards selects the best one in a second step. This is now changed to read one alternate mirror after the other and to leave the loop early when a perfect mirror is found. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions