[Lustre-devel] llog API, locking and concurrency

Alex Zhuravlev bzzz at whamcloud.com
Wed Apr 6 10:33:16 PDT 2011


correct, llog is doing serialization internally.

thanks, Alex

On Wed, Apr 6, 2011 at 8:58 PM, DEGREMONT Aurelien <
aurelien.degremont at cea.fr> wrote:

> Hello
>
> I'm wondering what is the correct way to use llog_ API regarding locking
> and concurrencies?
>
> When looking at code, it seems llog already deal with proper locking
> when several thread access the same llog.
> The codes that use this king of log do not seem to add more locking when
> using it.
>
> Is this correct? llog_* call can be called without taking care of
> concurrency?
>
>
> Thanks
>
> Aurélien
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20110406/1da732b7/attachment.htm>


More information about the lustre-devel mailing list