All of lore.kernel.org
 help / color / mirror / Atom feed
* gf-complete thread safe initialization
@ 2014-04-08 17:22 Loic Dachary
  0 siblings, 0 replies; only message in thread
From: Loic Dachary @ 2014-04-08 17:22 UTC (permalink / raw)
  To: Kevin Greenan; +Cc: Ceph Development

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

Hi Kevin,

The following patch is initializing the array in a lock protected / not thread sensitive part of code. 

https://github.com/ceph/ceph/pull/1621/files

Unless I'm mistaken, it ensures that it never happens automagically. The first few tests that were run indicate it's not more broken than it was before. We'll have to wait a few days to be sure that it fixes the issue.

Do you think that's a sensible way to avoid thread safety problem in the context of ceph ? Or are there other issues I don't see ? 

Cheers
-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-08 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 17:22 gf-complete thread safe initialization Loic Dachary

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.