diff options
author | Jan Kara <[email protected]> | 2020-03-18 13:13:17 +0100 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2020-03-26 10:55:00 -0400 |
commit | d05466b27b19af8e148376590ed54d289b607f0a (patch) | |
tree | 904b8e026266797c5292283fb1ddfffb9e8f2185 /scripts/bpf_helpers_doc.py | |
parent | 5e47868fb94b63c7068dcfd2469d99fba06bae9d (diff) |
ext4: avoid ENOSPC when avoiding to reuse recently deleted inodes
When ext4 is running on a filesystem without a journal, it tries not to
reuse recently deleted inodes to provide better chances for filesystem
recovery in case of crash. However this logic forbids reuse of freed
inodes for up to 5 minutes and especially for filesystems with smaller
number of inodes can lead to ENOSPC errors returned when allocating new
inodes.
Fix the problem by allowing to reuse recently deleted inode if there's
no other inode free in the scanned range.
Signed-off-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions