-
Notifications
You must be signed in to change notification settings - Fork 256
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
monitor cephfs for changed/added files/directories #478
Comments
Oh, like a sort of inotify kind of interface in libcephfs? I don't currently know of such a thing, and looking over the list of functions in libcephfs.h I don't see anything clearly related to that topic. I know for sure we don't have something like that in go-ceph. It's certainly an interesting idea, so I encourage you to bring it up with the core ceph team. If they can suggest a specific api to use we can look to wrapping it in the future. If this is something they'd need to add, we could wrap it after it's been implemented in the C libraries. Thanks! |
Hi, Just checking if there has been any progress on this or if there's an upstream ticket that I can check? |
I don't know if @mzimmerman ever contacted ceph upstream about this. I don't remember seeing a tracker ticket for it or list email, but Ceph is large enough to easily miss stuff. |
Raised a feature request: https://tracker.ceph.com/issues/62215 Please feel free to add any details I may have missed. |
Is there any API that allows me to monitor or poll cephfs for a list of the changed/added files since X time? Currently, I walk the file system looking for those things, but that's expensive to the MDS as we have a lot of files and since I'm polling often, the MDS constantly has to keep that information in memory.
The text was updated successfully, but these errors were encountered: