<div dir="ltr">Thanks a lot, but I need more details. Can you tell me exactly which function assigns the hash to directories on bricks? at the end of dht_function the dht_layout->list does not have the value of hash, so where this assignment is done?</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 15, 2017 at 8:11 PM, Ankit Raj <span dir="ltr"><<a href="mailto:anraj@redhat.com" target="_blank">anraj@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 15, 2017 at 8:43 PM, Tahereh Fattahi <span dir="ltr"><<a href="mailto:t28.fattahi@gmail.com" target="_blank">t28.fattahi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi</div></blockquote><div><br></div><div> DHT creates directories on all the bricks in the volume. And, their range varies from 00000000 to 0xffffffff and and each brick is assigned a specific subset of this range. Also, the directory creation and the<br> setting of layout is part of mkdir operation.<br><br></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I want to know when and where the layout of a directory is created?</div></div></blockquote><div> </div></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><div dir="ltr"><div>I read more and the code of dht_mkdir and the functions were called in this function but I could not find the primary part (setting the list field in dht_layout structure), can anyone help me? </div></div>
<br></span>______________________________<wbr>_________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-devel</a><br></blockquote></div><br></div></div>
</blockquote></div><br></div>