Is inode invalidation currently supported?

I cannot find anywhere in the documentation how to invalidate an FSItem. It seems to be cached indefinitely or am I missing something?

I cannot find anywhere in the documentation how to invalidate an FSItem.

What are you actually trying to do here?

It seems to be cached indefinitely or am I missing something?

In terms of caching, reclaimItem is the point where you'd typically drop all of your references to the FSItem, since that's the point where the larger system no longer has any reference to the object.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

What I’m actually trying to do is notify FSKit that a file’s contents or attributes have changed.

I couldn’t find any API in the docs to invalidate or refresh an existing FSItem. reclaimItem makes sense as the point where I drop my references when the system is finished with the object, but it doesn’t seem like the right mechanism for “this file changed; please refresh any cached state.”

Is there an intended way to signal that kind of change to FSKit, or is there no explicit invalidation mechanism?

Is inode invalidation currently supported?
 
 
Q