]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: expose ceph.quota.max_bytes xattr within snapshots 36249/head
authorShyamsundar Ranganathan <srangana@redhat.com>
Wed, 22 Jul 2020 19:21:50 +0000 (15:21 -0400)
committerShyamsundar Ranganathan <srangana@redhat.com>
Wed, 29 Jul 2020 11:21:24 +0000 (07:21 -0400)
commit35a033f576a7bcbe89bc96c05eefc6d47ede8fc5
treefe8932885ec1018629854014d78eafb31fd53208
parentd3d4ca5c2f2364d77aabb841be34e1c1c58312bf
client: expose ceph.quota.max_bytes xattr within snapshots

For directories within snapshots, expose the ceph.quota.max_bytes
extended attribute information. This enables fetching quota
information when the snapshot was taken and is particularly useful
when cloning subvolume snapshots, to enforce the quota on the
clone subvolume as well.

Fixes: https://tracker.ceph.com/issues/46278
Signed-off-by: Shyamsundar Ranganathan <srangana@redhat.com>
src/client/Client.cc
src/test/libcephfs/test.cc