summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2013-10-31 16:46:31 +0100
committerTheodore Ts'o <tytso@mit.edu>2013-10-31 16:46:31 +0100
commit2746f7a17062d3526116f7ae7f91d88b19c2464e (patch)
tree3c81fd8b5b02d50be588bd520c26e9c5b22b848d /virt
parentext4: fix FITRIM in no journal mode (diff)
downloadlinux-2746f7a17062d3526116f7ae7f91d88b19c2464e.tar.xz
linux-2746f7a17062d3526116f7ae7f91d88b19c2464e.zip
ext4: don't count free clusters from a corrupt block group
A bg that's been flagged "corrupt" by definition has no free blocks, so that the allocator won't be tempted to use the damaged bg. Therefore, we shouldn't count the clusters in the damaged group when calculating free counts. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions