<div dir="ltr"><div class="gmail_extra">There are subtle differences between fuse and server. In fuse the inode table does not use LRU pruning, so expected inodes are guaranteed to be cached. For e.g, when mkdir() FOP arrives, fuse would have already checked with a lookup and the kernel guarantees another thread would not have created mkdir in the mean time (with mutex on dir). In the server, either because of LRU or threads racing, you need to re-evaulate the situation to be sure. RESOLVE_MUST/NOT makes more sense in the server because of this.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">HTH<br><br><div class="gmail_quote">On Fri, Aug 1, 2014 at 2:43 AM, Pranith Kumar Karampuri <span dir="ltr">&lt;<a href="mailto:pkarampu@redhat.com" target="_blank">pkarampu@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
     Does anyone know why there is different code for resolution in fuse vs server? There are some differences too, like server asserts about the resolution types like RESOLVE_MUST/RESOLVE_NOT etc where as fuse doesn&#39;t do any such thing. Wondering if there is any reason why the code is different in these two xlators.<span class="HOEnZb"><font color="#888888"><br>

<br>
Pranith<br>
</font></span></blockquote></div><br></div></div>