summaryrefslogtreecommitdiff
path: root/fs/ext4/crypto.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2015-06-08 15:38:37 (GMT)
committerTheodore Ts'o <tytso@mit.edu>2015-06-08 15:38:37 (GMT)
commitbbdc322f2c600667e3d23dfadf8bbaad08f7edd3 (patch)
tree8ff80ff43b805f1be02d038b4da697e8e5b1eefd /fs/ext4/crypto.c
parent41e5b7ed3e9597ccc46b6affc81872e6370936d9 (diff)
downloadlinux-bbdc322f2c600667e3d23dfadf8bbaad08f7edd3.tar.xz
ext4: try to initialize all groups we can in case of failure on ppc64
Currently on the machines with page size > block size when initializing block group buddy cache we initialize it for all the block group bitmaps in the page. However in the case of read error, checksum error, or if a single bitmap is in any way corrupted we would fail to initialize all of the bitmaps. This is problematic because we will not have access to the other allocation groups even though those might be perfectly fine and usable. Fix this by reading all the bitmaps instead of error out on the first problem and simply skip the bitmaps which were either not read properly, or are not valid. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/crypto.c')
0 files changed, 0 insertions, 0 deletions