From: Jeff Layton <jlayton@kernel.org>
To: Ilya Dryomov <idryomov@gmail.com>,
Ceph Development <ceph-devel@vger.kernel.org>
Subject: Re: wip-msgr2
Date: Wed, 16 Dec 2020 10:31:42 -0500 [thread overview]
Message-ID: <6a870de44a66a6163c8f9a1d7fa5da308b9f8b30.camel@kernel.org> (raw)
In-Reply-To: <CAOi1vP_gHLrNBe-pU9G+GmE+JF8g2SY7UqgGqzeW5sXXf1jAcQ@mail.gmail.com>
On Mon, 2020-12-14 at 14:43 +0100, Ilya Dryomov wrote:
> Hello,
>
> I've pushed wip-msgr2 and opened a dummy PR in ceph-client:
>
> https://github.com/ceph/ceph-client/pull/22
>
> This set has been through a over a dozen krbd test suite runs with no
> issues other than those with the test suite itself. The diffstat is
> rather big, so I didn't want to spam the list. If someone wants it
> posted, let me know. Any comments are welcome!
>
> drivers/block/rbd.c | 8 +-
> fs/ceph/mds_client.c | 106 +-
> fs/ceph/mdsmap.c | 21 +-
> include/linux/ceph/auth.h | 68 +-
> include/linux/ceph/ceph_features.h | 11 +-
> include/linux/ceph/ceph_fs.h | 11 +
> include/linux/ceph/decode.h | 8 +
> include/linux/ceph/libceph.h | 10 +-
> include/linux/ceph/mdsmap.h | 2 +-
> include/linux/ceph/messenger.h | 285 ++-
> include/linux/ceph/msgr.h | 57 +-
> include/linux/ceph/osdmap.h | 4 +-
> net/ceph/Kconfig | 3 +
> net/ceph/Makefile | 3 +-
> net/ceph/auth.c | 408 ++++-
> net/ceph/auth_none.c | 5 +-
> net/ceph/auth_x.c | 298 +++-
> net/ceph/auth_x_protocol.h | 3 +-
> net/ceph/ceph_common.c | 63 +
> net/ceph/ceph_strings.c | 28 +
> net/ceph/crypto.h | 3 +
> net/ceph/decode.c | 101 ++
> net/ceph/messenger.c | 2252 +++++------------------
> net/ceph/messenger_v1.c | 1506 ++++++++++++++++
> net/ceph/messenger_v2.c | 3443 ++++++++++++++++++++++++++++++++
> net/ceph/mon_client.c | 320 +++-
> net/ceph/osd_client.c | 111 +-
> net/ceph/osdmap.c | 45 +-
> 28 files changed, 7027 insertions(+), 2156 deletions(-)
> create mode 100644 net/ceph/messenger_v1.c
> create mode 100644 net/ceph/messenger_v2.c
>
> Thanks,
>
> Ilya
FWIW, I see these warnings when building with this series with W=1:
./include/linux/ceph/msgr.h:37:24: warning: ‘CEPH_MSGR2_FEATUREMASK_REVISION_1’ defined but not used [-Wunused-const-variable=]
37 | static const uint64_t CEPH_MSGR2_FEATUREMASK_##name = \
| ^~~~~~~~~~~~~~~~~~~~~~~
./include/linux/ceph/msgr.h:43:1: note: in expansion of macro ‘DEFINE_MSGR2_FEATURE’
43 | DEFINE_MSGR2_FEATURE( 0, 1, REVISION_1) // msgr2.1
| ^~~~~~~~~~~~~~~~~~~~
./include/linux/ceph/msgr.h:36:24: warning: ‘CEPH_MSGR2_FEATURE_REVISION_1’ defined but not used [-Wunused-const-variable=]
36 | static const uint64_t CEPH_MSGR2_FEATURE_##name = (1ULL << bit); \
| ^~~~~~~~~~~~~~~~~~~
./include/linux/ceph/msgr.h:43:1: note: in expansion of macro ‘DEFINE_MSGR2_FEATURE’
43 | DEFINE_MSGR2_FEATURE( 0, 1, REVISION_1) // msgr2.1
| ^~~~~~~~~~~~~~~~~~~~
It's probably easy to fix, but I haven't looked in detail yet.
--
Jeff Layton <jlayton@kernel.org>
next prev parent reply other threads:[~2020-12-16 15:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-14 13:43 wip-msgr2 Ilya Dryomov
2020-12-14 15:55 ` wip-msgr2 Luis Henriques
2020-12-14 16:59 ` wip-msgr2 Ilya Dryomov
2020-12-14 17:26 ` wip-msgr2 Luis Henriques
2020-12-15 13:14 ` wip-msgr2 Luis Henriques
2020-12-15 15:30 ` wip-msgr2 Ilya Dryomov
2020-12-15 16:14 ` wip-msgr2 Luis Henriques
2020-12-17 16:46 ` wip-msgr2 Luis Henriques
2020-12-17 17:25 ` wip-msgr2 Ilya Dryomov
2020-12-18 16:45 ` wip-msgr2 Luis Henriques
2020-12-16 15:31 ` Jeff Layton [this message]
2020-12-16 17:18 ` wip-msgr2 Ilya Dryomov
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=6a870de44a66a6163c8f9a1d7fa5da308b9f8b30.camel@kernel.org \
--to=jlayton@kernel.org \
--cc=ceph-devel@vger.kernel.org \
--cc=idryomov@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox