<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 11, 2013 at 4:35 PM, Dilger, Andreas <span dir="ltr">&lt;<a href="mailto:andreas.dilger@intel.com" target="_blank">andreas.dilger@intel.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 2013/12/10 1:56 AM, &quot;pierce liu&quot; &lt;<a href="mailto:netgridx@gmail.com">netgridx@gmail.com</a>&gt; wrote:<br>

&gt;I am a new beginner of lusterfs. During browsing the source code, I am<br>
&gt;puzzled about how to map file to multi-object. Is there any document for<br>
&gt;that, or how to trace the code.<br>
<br>
</div>Hi Pierce,<br>
there is a general overview of Lustre at Wikipedia. There are also quite<br>
a few presentations available online, and videos on Youtube describing<br>
the basics of Lustre.<br>
<br></blockquote><div style>Will see them.</div><div style></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

The filesystem namespace is held on the MDT. Each inode has a &quot;Logical<br>
Object Volume&quot; (LOV) xattr (struct lov_mds_md_v1 or struct lov_mds_md_v3)<br>
that describes the mapping to OST objects. When a client opens a file on<br>
the MDT, the LOV xattr is returned to the client, which describes they<br>
layout of the file (stripe count, stripe size) and the OST objects that<br>
hold the file data. After that point, the client does IO directly to the<br>
OSTs.<br>
<div class="im"><br></div></blockquote><div style>Thanks for the clear explanation. I will trace the code and enjoy it.</div><div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">
&gt;BTW, is this mailing list the effective one for lusterfs, or we have<br>
&gt;other list?<br>
<br>
</div>This list is fine.<br></blockquote><div><br></div><div style>I saw &quot;linux-2.6/drivers/staging/lustre/TODO&quot; , CCing hpdd-discuss &lt;<a href="mailto:hpdd-discuss@lists.01.org">hpdd-discuss@lists.01.org</a>&gt; would be great too.</div>
<div style>So that list is just for linux-luster-client? Or add this mailling list on the TODO too, so more people can be involved in?</div><div style><br></div><div style>Thanks and regards,</div><div style>Pierce</div><div style>
<br></div></div></div></div>