<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Nov 4, 2025 at 4:46\u202fPM Andreas Dilger &lt;<a href="mailto:adilger@dilger.ca">adilger@dilger.ca</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Nov 4, 2025, at 5:28 PM, Jinshan Xiong &lt;<a href="mailto:jinshanx@google.com" target="_blank">jinshanx@google.com</a>&gt; wrote:<br>
&gt; On Tue, Nov 4, 2025 at 4:20\u202fPM Andreas Dilger wrote:<br>
&gt;&gt; I don&#39;t see how the layout xattr format is related to filesystem-level<br>
&gt;&gt; scanning?  This is &quot;just&quot; the xattr format *STORED ON THE OST OBJECT*,<br>
&gt;&gt; and it could be handled by direct device-level (OST) scan tools as well.<br>
&gt; <br>
&gt; I see. I initially thought you proposed the spill device would function as a mirror and that the existing software stack would handle it.<br>
&gt; <br>
&gt; Are we going to store the spilled object&#39;s status in the layout? It sounds difficult because you will have to initiate a layout change from the OSTs. I think we still need to store such an xattr locally in the OST object.<br>
<br>
I&#39;m exactly proposing that the layout xattr be stored on the OST object.<br>
It would have the same format as the existing Lustre layout stored on<br>
the MDT, but *maybe* a different name (e.g. &quot;trusted.spl&quot;, &quot;trusted.osd&quot;,<br>
or whatever).<br>
<br>
I&#39;m not sure if using &quot;trusted.lov&quot; will confuse filesystem scanning<br>
tools or help them...  It probably makes sense to have a different<br>
xattr name, just in case we want MDT spilling (e.g. NVRAM-&gt;QLC) in<br>
the future.<br></blockquote><div><br></div><div>I would prefer a different name, even though the client likely won&#39;t see it directly. Using the same name for different things will only lead to confusion. I would go for &quot;trusted.spl&quot;.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
&gt;&gt; This would allow mirrors (FLR), multiple spill devices (multiple FLR<br>
&gt;&gt; mirrors), concatenated devices (PFL), etc.  It just avoids adding new<br>
&gt;&gt; formats that need to be parsed, printed, etc.<br>
<br>
Cheers, Andreas<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div></div>