All of lore.kernel.org
 help / color / mirror / Atom feed
* [Lustre-devel] llog API, locking and concurrency
@ 2011-04-06 16:58 DEGREMONT Aurelien
  2011-04-06 17:33 ` Alex Zhuravlev
  0 siblings, 1 reply; 2+ messages in thread
From: DEGREMONT Aurelien @ 2011-04-06 16:58 UTC (permalink / raw)
  To: lustre-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Lustre-devel] llog API, locking and concurrency
  2011-04-06 16:58 [Lustre-devel] llog API, locking and concurrency DEGREMONT Aurelien
@ 2011-04-06 17:33 ` Alex Zhuravlev
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Zhuravlev @ 2011-04-06 17:33 UTC (permalink / raw)
  To: lustre-devel

correct, llog is doing serialization internally.

thanks, Alex

On Wed, Apr 6, 2011 at 8:58 PM, DEGREMONT Aurelien <
aurelien.degremont@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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-06 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-06 16:58 [Lustre-devel] llog API, locking and concurrency DEGREMONT Aurelien
2011-04-06 17:33 ` Alex Zhuravlev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.