]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: MDCache request cleanup handles potential null mdr
authorAbhishek Lekshmanan <abhishek.lekshmanan@cern.ch>
Tue, 1 Apr 2025 10:04:09 +0000 (12:04 +0200)
committerJos Collin <jcollin@redhat.com>
Tue, 2 Dec 2025 01:56:59 +0000 (07:26 +0530)
commit02cc17d76c9099603e3331b216807c032a3ad821
tree2610f0defd16eea163d7f94fb4f46e92a5901f58
parent97ce8955f4e5991e6c5dfaadba617bf47a2d1178
mds: MDCache request cleanup handles potential null mdr

In cases where there is a single element in a batch_op_map,new_batch_head
is a nullptr, when this is retried at Finisher we'd hit one of the asserts when
dereferencing

Fixes: https://tracker.ceph.com/issues/70769
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@cern.ch>
(cherry picked from commit e63f8cc54d03dbdd147cdd2c301adef119a640da)
src/mds/MDCache.cc