diff options
author | Theodore Ts'o <tytso@mit.edu> | 2017-10-01 17:59:54 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-10-01 17:59:54 -0400 |
commit | 68fd97504ad2f70850c47ce45caa110a0ca843d2 (patch) | |
tree | 7cee951697a59a7c4f3dfe939de6339e3869d772 /fs/ext4/inline.c | |
parent | 545052e9e35a34af95d2e870ac3fe2894376e6e9 (diff) | |
download | linux-68fd97504ad2f70850c47ce45caa110a0ca843d2.tar.gz linux-68fd97504ad2f70850c47ce45caa110a0ca843d2.tar.bz2 linux-68fd97504ad2f70850c47ce45caa110a0ca843d2.zip |
ext4: retry allocations conservatively
Now that we no longer try to reserve metadata blocks for delayed
allocations (which tended to overestimate the required number of
blocks significantly), we really don't need retry allocations when the
disk is very full as aggressively any more.
The only time when it makes sense to retry an allocation is if we have
freshly deleted blocks that will only become available after a
transaction commit. And if we lose that race, it's not worth it to
try more than once.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inline.c')
0 files changed, 0 insertions, 0 deletions