]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "kclient: add smp_mb to sensitive bitops in msgr"
authorSage Weil <sage@newdream.net>
Thu, 1 Oct 2009 19:57:17 +0000 (12:57 -0700)
committerSage Weil <sage@newdream.net>
Thu, 1 Oct 2009 19:57:17 +0000 (12:57 -0700)
Don't think these are needed after all...

This reverts commit fe11285c4b00fb9148251cfaaf28aa71a70b31c8.

src/kernel/messenger.c

index ba784504fbe4c7bea8352e27fd918306e75ef2c0..52e75b88ca073ae6f87c2039a06cdfc9ba9808ef 100644 (file)
@@ -1480,7 +1480,6 @@ static void queue_con(struct ceph_connection *con)
        }
 
        set_bit(QUEUED, &con->state);
-       smp_mb();
        if (test_bit(BUSY, &con->state)) {
                dout("queue_con %p - already BUSY\n", con);
                con->ops->put(con);
@@ -1529,7 +1528,6 @@ more:
 
 done:
        clear_bit(BUSY, &con->state);
-       smp_mb();
        dout("con->state=%lu\n", con->state);
        if (test_bit(QUEUED, &con->state)) {
                if (!backoff) {