[Gluster-devel] questions on callstubs and "link-count" in index translator
Junsong Li
junsongli at fb.com
Fri Apr 26 17:23:35 UTC 2019
Hello list,
I have a couple of questions on index translator implementation.
* Why does gluster need callstub and a different worker queue (and thread) to process those call stubs? Is it just to lower the priority of fops of internal inodes?
* What’s the purpose of “link-count” in xdata? It’s being used only in index_fstat and index_lookup. I see sometimes the key is assigned 0/1 after callback, and sometimes AFR uses it to store flag GF_XATTROP_INDEX_COUNT. Is the code purposely reusing the key?
Thanks,
Junsong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20190426/273fad80/attachment.html>
More information about the Gluster-devel
mailing list