]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: set the proper extra bl for the create request 57754/head
authorXiubo Li <xiubli@redhat.com>
Tue, 28 May 2024 04:35:17 +0000 (12:35 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 5 Jun 2024 01:17:59 +0000 (09:17 +0800)
commit3482100e8ce174d2fd3a2e7f7ed0333ae2c0a166
tree69ed5207bb118ca734240fbb48a19e9893c479f2
parent1f1198b81b2442e5d6c0566bdade2f5d7dd23d12
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>
src/mds/Server.cc