Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: fix negative values in quota before used in statfs #4591

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

SandyXSD
Copy link
Contributor

df may display negative value:

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda2       178G   44G  127G  26% /
JuiceFS:test    1.0P -100K  1.0P   0% /mnt/jfs

Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.51%. Comparing base (a76b419) to head (b96df26).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4591      +/-   ##
==========================================
- Coverage   55.54%   55.51%   -0.03%     
==========================================
  Files         159      159              
  Lines       42932    42940       +8     
==========================================
- Hits        23846    23839       -7     
- Misses      16422    16439      +17     
+ Partials     2664     2662       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SandyXSD SandyXSD merged commit 8527263 into main Mar 27, 2024
32 checks passed
@SandyXSD SandyXSD deleted the fix-quota branch March 27, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants