[Gluster-devel] release xlator_ckbs is not invoked?

Amin Abbaspour amin at raysaz.com
Wed Jul 22 11:47:55 UTC 2009

Hi All,

This is my first post in the dev list :)

I wrote a methods to be triggered during release callback and added it
to xlator_cbks struct in trace.c but this method is not invoked at

I can see that some other performance xlators such as write-behind and
read-ahead have similar callback handlers over release but but don't
know why my method is not called.

Is there any other config required besides setting release variable in
xlator_cbks struct to my function pointer?

I tried to set two others (releasedir and forget) but they are not
called either. I suppose editing a file in vim should call release at
the end. BTW my case is very similar to this issue in FUSE (
http://www.nabble.com/No-release-callback-after-cp-td23050110.html )
but I don't think there is any need for such a config in Gluster.

Thanks for your help,

Amin Abbaspour

More information about the Gluster-devel mailing list