From patchwork Tue Nov 4 14:34:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Spray X-Patchwork-Id: 5228101 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C6801C11AC for ; Tue, 4 Nov 2014 14:35:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B60120173 for ; Tue, 4 Nov 2014 14:35:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 34F5520166 for ; Tue, 4 Nov 2014 14:35:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754147AbaKDOfN (ORCPT ); Tue, 4 Nov 2014 09:35:13 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:63082 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753312AbaKDOfM (ORCPT ); Tue, 4 Nov 2014 09:35:12 -0500 Received: by mail-wi0-f174.google.com with SMTP id d1so9602379wiv.1 for ; Tue, 04 Nov 2014 06:35:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=oRd1+TURiwEcbGL7msUSLubsoSay6Fn7+3LoOcEP21Q=; b=OSDkSsMAF0QaCvEngE1uHDDrGZXqZ+jp1MoSkuMcO1MpawFOFQ+cua8mUieJ6Tn1Is vSMJjHVUAFLwuxSa3mhtoDIa7VbsUzP83jYKt7p9g3ddSpDKEsQ2rSfZgvJ9stUddI2P d6zP8B5liAzvHSQqm1soDWqe0qqCOKjKr5xKk0uKH68seMtaftAhof/ft7AeHAusOStY amAzxWXA5uNouN7VbIC0i0rYMnIVuXgeC8kQNHBIM2oTrv8LhScLr6B/nu6fzTQDK+28 gldvbA/dRArs+Hg0LGRehN2LXCXgQSKpzTA/yUoAIjlH7LQRFVk0mk7rS9eITjyc7mT4 RWJw== X-Gm-Message-State: ALoCoQkRb2/rvQ3Bez423e/b0vnnXeav2eR+i7pTxCXiN2JPG3KHNA4u4cgZr07zE1VqPM8bbY3S X-Received: by 10.180.108.144 with SMTP id hk16mr24036298wib.68.1415111710681; Tue, 04 Nov 2014 06:35:10 -0800 (PST) Received: from anthracite.localdomain (82-71-55-202.dsl.in-addr.zen.co.uk. [82.71.55.202]) by mx.google.com with ESMTPSA id w5sm1229004wif.18.2014.11.04.06.35.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Nov 2014 06:35:09 -0800 (PST) From: John Spray To: ceph-devel@vger.kernel.org Cc: John Spray Subject: [PATCH 1/7] ceph: update ceph_msg_header structure Date: Tue, 4 Nov 2014 14:34:23 +0000 Message-Id: <1415111669-26246-2-git-send-email-john.spray@redhat.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1415111669-26246-1-git-send-email-john.spray@redhat.com> References: <1415111669-26246-1-git-send-email-john.spray@redhat.com> Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 2 bytes of what was reserved space is now used by userspace for the compat_version field. Signed-off-by: John Spray --- include/linux/ceph/msgr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/ceph/msgr.h b/include/linux/ceph/msgr.h index cac4b28..1c18872 100644 --- a/include/linux/ceph/msgr.h +++ b/include/linux/ceph/msgr.h @@ -152,7 +152,8 @@ struct ceph_msg_header { receiver: mask against ~PAGE_MASK */ struct ceph_entity_name src; - __le32 reserved; + __le16 compat_version; + __le16 reserved; __le32 crc; /* header crc32c */ } __attribute__ ((packed));