]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/ProtocolV2: allow rxbuf/txbuf get bigger in testing 36889/head
authorIlya Dryomov <idryomov@gmail.com>
Sat, 29 Aug 2020 10:02:30 +0000 (12:02 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sat, 29 Aug 2020 10:02:30 +0000 (12:02 +0200)
commit94953dd9398a937d43026f73efaf437597071ca7
treeaee59735ca5b3efe1ecfe47fb9eeec8a06ea260f
parent46c912978aa6a0b0f67094a27933c7bea829e6c9
msg/async/ProtocolV2: allow rxbuf/txbuf get bigger in testing

We have a kernel client test case that constructs huge auth tickets
to exercise the three related code paths in the kernel.  One of the
tickets is bigger than 1000000 bytes, as required for triggering the
third code path.

We haven't bumped into this assert earlier because the kernel client
is still on msgr v1.  However, "rbd map" and "rbd unmap" commands
started connecting to the cluster in commit 96f05a7956b3 ("rbd: delay
determination of default pool name") and that happens via msgr v2.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/msg/async/ProtocolV2.cc