[Gluster-devel] questions on callstubs and "link-count" in index translator
junsongli at fb.com
Fri Apr 26 17:23:35 UTC 2019
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-devel