]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: remove incorrect 'size' from output of 'snapshot info'
authorNikhilkumar Shelke <nshelke@redhat.com>
Sun, 12 Jun 2022 11:33:16 +0000 (17:03 +0530)
committerNikhilkumar Shelke <nshelke@redhat.com>
Wed, 22 Jun 2022 10:02:56 +0000 (15:32 +0530)
commitefe584df146c94f3bb161d411c1205b6f3cf650b
treeb4fe9f645742d0157da9ba73bd88f7a6b06b0405
parent0e0d3425a1484a75b51576288973474c3b766151
mgr/volumes: remove incorrect 'size' from output of 'snapshot info'

The 'size' shown in the output of snapshot info command relies on
rstats which is incorrect snapshot size. It tracks size of the
subvolume from the snapshot has been taken instead of the snapshot
itself. Hence having the 'size' field in the output of 'snapshot info'
doesn't make sense until the rstats is fixed.

Fixes: https://tracker.ceph.com/issues/55822
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
(cherry picked from commit 9f514a0bd14b30f6ef6a77541f4cf75541b52322)
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py