]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: fix and skip submitting invalid osd request
authorXiubo Li <xiubli@redhat.com>
Thu, 12 Jan 2023 01:11:02 +0000 (09:11 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 12 Jan 2023 01:11:02 +0000 (09:11 +0800)
commite268728014700fde6dec1bdf8df3fb0ce226ede4
treead4abe9a19e59d7a424a1b7568f9574de3ce2fd9
parent6243f33d0b905690d9a59770b31dcba3c95e7002
mds: fix and skip submitting invalid osd request

When the first dentry have enough metadata and the size is larger
than max_write_size, it may submitting one invalid osd request to
Rados, which will cause the cephfs to be readonly.

Fixes: https://tracker.ceph.com/issues/58082
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/CDir.cc