aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2024-08-21 15:53:18 -0400
committerDavid Sterba <[email protected]>2024-08-25 19:15:34 +0200
commit2d3447261031503b181dacc549fe65ffe2d93d65 (patch)
treef5c76e6bdb4ee2fe2450880a892efd979791d5fb /lib/netdev-notifier-error-inject.c
parent534f7eff9239c1b0af852fc33f5af2b62c00eddf (diff)
btrfs: run delayed iputs when flushing delalloc
We have transient failures with btrfs/301, specifically in the part where we do for i in $(seq 0 10); do write 50m to file rm -f file done Sometimes this will result in a transient quota error, and it's because sometimes we start writeback on the file which results in a delayed iput, and thus the rm doesn't actually clean the file up. When we're flushing the quota space we need to run the delayed iputs to make sure all the unlinks that we think have completed have actually completed. This removes the small window where we could fail to find enough space in our quota. CC: [email protected] # 5.15+ Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions