_getvxattr rpc doesn't handle ceph.mirror.* attributes and always
returns -ENODATA for ceph.mirror.* attributes. This prevents
incremental syncing of snapshots. So let them call _getattr()
and proceed.
Fixes: https://tracker.ceph.com/issues/63099
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit
a36f5ed185cbcd788e36ad22a00cfe9dcdfdfe7f)
if (!strncmp(name, "ceph.", 5)) {
r = _getvxattr(in, perms, name, size, value, MDS_RANK_NONE);
- goto out;
+ if (r != -ENODATA) {
+ goto out;
+ }
}
if (acl_type == NO_ACL && !strncmp(name, "system.", 7)) {