]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: add ceph.{cluster_fsid/client_id} vxattrs suppport 39001/head
authorXiubo Li <xiubli@redhat.com>
Tue, 24 Nov 2020 08:49:06 +0000 (16:49 +0800)
committerVicente Cheng <freeze.bilsted@gmail.com>
Wed, 17 Feb 2021 07:32:47 +0000 (07:32 +0000)
commite61de1e08f751fce0ff6075e45b49c4aafc83434
tree07e8fdd1af0ccd6b84b6173ff01e75db074775fc
parent6d4e43d2dc7a0706a079a6cc49169ec53ebd7a30
client: add ceph.{cluster_fsid/client_id} vxattrs suppport

These two vxattrs will only exist in local client side, with which
we can easily know which mountpoint the file belongs to and also
they can help locate the debugfs path quickly.

Fixes: https://tracker.ceph.com/issues/48337
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 5635f25dd4a134f2fb32d2cb9dd73c0e947295e6)

Conflicts:
src/client/Client.cc
  - add .hidden member because we still need it
            in nautilus
src/client/Client.h
  - drop the mirror.info xattr related code
            because nautilus does not introduce it
src/client/Client.cc
src/client/Client.h