8000 cephfs: cannot delete directory containing files · Issue #5065 · cs3org/reva · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cephfs: cannot delete directory containing files #5065

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

Open
labkode opened this issue Feb 5, 2025 · 1 comment
Open

cephfs: cannot delete directory containing files #5065

labkode opened this issue Feb 5, 2025 · 1 comment
Labels

Comments

@labkode
Copy link
Member
labkode commented Feb 5, 2025
Image

Looks like we're not passing a recursive argument to the remove call in libcephfs.

@jouvin @nlegrand @guillaume-philippon

@labkode labkode added the cern label Feb 5, 2025
@labkode
Copy link
Member Author
labkode commented Feb 5, 2025

libcephfs does not provide a recursive option, one has to implement in the Reva code, deleting all entries before removing the directory, a bit of a bummer.

https://github.com/ceph/ceph/blob/main/src/os/bluestore/BlueFS.cc#L4431

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant
0