]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: set the proper extra bl for the create request
authorXiubo Li <xiubli@redhat.com>
Tue, 28 May 2024 04:35:17 +0000 (12:35 +0800)
committerJos Collin <jcollin@redhat.com>
Thu, 11 Jul 2024 01:36:27 +0000 (07:06 +0530)
commit8fe0489db3e749d07b4898d80afa9b33e0f583e5
treedaf2aa0af47ff418a949f535c185c4d4e8433230
parent9c5cc339d363dc040e3b2fd195ce472ecec904ab
mds: set the proper extra bl for the create request

Just in case a create request was totally completed but the client
didn't receive any unsafe and safe responses, and then when it's
retried in the MDS side it will be treated as a open request and
will miss setting the create ino for the reply message.

Finally for client it just sent a create request and then the MDS
just sent back a open reply, which will let the client miss setting
the CREATED flag and then the VFS will fail the create by returnning
a -EEXIST errno.

Fixes: https://tracker.ceph.com/issues/63265
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 3482100e8ce174d2fd3a2e7f7ed0333ae2c0a166)
src/mds/Server.cc