correct, llog is doing serialization internally. <div><br></div><div>thanks, Alex<br><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 8:58 PM, DEGREMONT Aurelien <span dir="ltr"><<a href="mailto:aurelien.degremont@cea.fr">aurelien.degremont@cea.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello<br>
<br>
I'm wondering what is the correct way to use llog_ API regarding locking<br>
and concurrencies?<br>
<br>
When looking at code, it seems llog already deal with proper locking<br>
when several thread access the same llog.<br>
The codes that use this king of log do not seem to add more locking when<br>
using it.<br>
<br>
Is this correct? llog_* call can be called without taking care of<br>
concurrency?<br>
<br>
<br>
Thanks<br>
<br>
Aurélien<br>
_______________________________________________<br>
Lustre-devel mailing list<br>
<a href="mailto:Lustre-devel@lists.lustre.org">Lustre-devel@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-devel" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-devel</a><br>
</blockquote></div><br></div>