]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix and skip submitting invalid osd request 49941/head
authorXiubo Li <xiubli@redhat.com>
Thu, 12 Jan 2023 01:11:02 +0000 (09:11 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 31 Jan 2023 05:45:34 +0000 (13:45 +0800)
commit666667a458b260c31252dee27121ddcf3b012cd2
treefd783385bea6bfd10c9a19e937031a39279a6d16
parent87f6fdfa1f01515ba0a1e6b4ecf5ba3c433f6ede
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>
(cherry picked from commit e268728014700fde6dec1bdf8df3fb0ce226ede4)
src/mds/CDir.cc