Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d08854f5 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: optimize ext4_should_retry_alloc() to improve ENOSPC performance



If there are no pending blocks to be released after a commit, forcing
a journal commit has no hope of helping.  It's possible that a commit
had just completed, so if there are now free blocks available for
allocation, it's worth retrying the commit.

Reported-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 1a695a90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment