aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2011-04-05 11:57:27 -0400
committerJosef Bacik <[email protected]>2011-04-08 13:00:32 -0400
commit06d5a5899d6d3ac401d2359b5eac6d2a3a0fe331 (patch)
treeff26c40dec6e649dca7316ce10412cc6c0ace985 /lib/memory-notifier-error-inject.c
parentbe1a12a0dfed06cf1e62e35bf91620dc610a451a (diff)
Btrfs: only retry transaction reservation once
I saw a lockup where we kept getting into this start transaction->commit transaction loop because of enospce. The fact is if we fail to make our reservation, we've tried _everything_ several times, so we only need to try and commit the transaction once, and if that doesn't work then we really are out of space and need to just exit. Thanks, Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions