<div class="gmail_quote">
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im"> </div>The first thing I always think about when seeing a problem like this is not "how to reduce this contention" but "do we need to be doing this at all"?</blockquote>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>Without having looked at that code in a long time, I'm having a hard time thinking why the OST needs to allocate a new block for the config during mount.  It is probably worthwhile to investigate why this is happening in the first place, and possibly just eliminating useless work, rather than making it slightly less slow.<br>
</blockquote>
<div> </div>
<div>
<div>I can't really answer whether "we need to do it",  but I can elaborate on what is happening.  The actual write that is being done during the lustre_process_log is when the llog is being copied from the remote server to the local server.  I assume this is at least a necessary step and no getting rid of the llog without some sort of overhaul.  I don't really have an idea on how large the llog can get but on the sizes I've seen it does seem reasonable that it could be copied from the remote MGS into memory, release the lock, and then write the log out to disk.</div>

<div> </div></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>Unfortunately, I don't have the bandwidth to look at this, but maybe Nathan or someone with more familiarity of the config code can chime in.<br>
<br></blockquote></div>