All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: Kevin Greenan <kmgreen2@gmail.com>
Cc: Ceph Development <ceph-devel@vger.kernel.org>
Subject: gf-complete thread safe initialization
Date: Tue, 08 Apr 2014 19:22:51 +0200	[thread overview]
Message-ID: <5344306B.8030708@dachary.org> (raw)

[-- 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 --]

                 reply	other threads:[~2014-04-08 17:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5344306B.8030708@dachary.org \
    --to=loic@dachary.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=kmgreen2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.