]> 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 04:45:58 +0000 (10:15 +0530)
commit3e982f96071d6f9acf8d61bc992d5a10444b22ec
tree77e9a25dfc1a824d324660fcec89849a4047aaba
parent0a5ce2994a1c41643dc724b21a319250cf426248
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