summaryrefslogtreecommitdiff
path: root/fs/ext4/acl.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2021-08-13 11:20:48 -0400
committerTheodore Ts'o <tytso@mit.edu>2021-08-30 23:36:50 -0400
commit308c57ccf4318236be75dfa251c84713e694457b (patch)
treef1edca98a6d0fba76520db7a234e73edd8484836 /fs/ext4/acl.h
parentfacec450a8243cd3310ff8a8b9bb2f71d35df9e9 (diff)
ext4: if zeroout fails fall back to splitting the extent node
If the underlying storage device is using thin-provisioning, it's possible for a zeroout operation to return ENOSPC. Commit df22291ff0fd ("ext4: Retry block allocation if we have free blocks left") added logic to retry block allocation since we might get free block after we commit a transaction. But the ENOSPC from thin-provisioning will confuse ext4, and lead to an infinite loop. Since using zeroout instead of splitting the extent node is an optimization, if it fails, we might as well fall back to splitting the extent node. Reported-by: yangerkun <yangerkun@huawei.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/acl.h')
0 files changed, 0 insertions, 0 deletions