client: make cache shrinking callbacks available via libcephfs
ganesha's FSAL_CEPH holds references to libcephfs Inode objects but it doesn't have a way to respond to cache pressure. We need to be able to wire up the dentry_invalidate_cb, but it passes in the name field as a string reference. Convert it to pass separate char * and length args.
#1 Updated by Jeff Layton 6 months ago
- Subject changed from client_dentry_callback_t is not usable for vanilla C applications to client: make cache shrinking callbacks available via libcephfs
...we'll also need to expose the callback setting routines in libcephfs as well (they're only settable today via class Client method).