]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: only enable batch getattr/lookup for non-snap request. 32268/head
authorYan, Zheng <zyan@redhat.com>
Mon, 16 Dec 2019 07:54:01 +0000 (15:54 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 16 Dec 2019 08:12:41 +0000 (16:12 +0800)
commitd595a4c578d80c306aaa9a529c85ad552d0a4fa8
treea1dd70c0452a3854411bb589b9273ef332999cce
parent1a9a06c35bf35a937de5a3df8acc429c61bdc441
mds: only enable batch getattr/lookup for non-snap request.

MDS may cow dentry/inode. After COWing, batch getattr/lookup for snap
request can be attched to wrong object.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/Server.cc