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

mount: recovery read only file handler #4524

Merged
merged 14 commits into from
Mar 20, 2024
Merged

mount: recovery read only file handler #4524

merged 14 commits into from
Mar 20, 2024

Conversation

zhijian-pro
Copy link
Contributor

@zhijian-pro zhijian-pro commented Mar 15, 2024

close #4504

Copy link

codecov bot commented Mar 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 24.22%. Comparing base (04bed7f) to head (af58e47).
Report is 14 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4524       +/-   ##
===========================================
- Coverage   55.65%   24.22%   -31.43%     
===========================================
  Files         157       24      -133     
  Lines       42593    16348    -26245     
===========================================
- Hits        23704     3960    -19744     
+ Misses      16253    11911     -4342     
+ Partials     2636      477     -2159     

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

@zhijian-pro zhijian-pro marked this pull request as draft March 15, 2024 13:48
pkg/vfs/vfs.go Outdated Show resolved Hide resolved
@zhijian-pro zhijian-pro marked this pull request as ready for review March 18, 2024 02:34
pkg/vfs/handle.go Outdated Show resolved Hide resolved
pkg/vfs/vfs.go Outdated

// there could be read operation for write-only if kernel writeback is enabled
if !v.Conf.FuseOpts.EnableWriteback && !hasReadPerm(h.flags) {
err = syscall.EACCES
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

   EBADF  fd is not a valid file descriptor or is not open for reading.

@davies davies changed the title mount: recovry read only file handler mount: recovery read only file handler Mar 20, 2024
@davies davies merged commit 12a3e45 into main Mar 20, 2024
33 checks passed
@davies davies deleted the recovery-readonly-fh branch March 20, 2024 02:47
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.

Unknown error 512 on try to get lock when graceful upgrade.
2 participants