]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: synchronize inode attributes for cloned subvolumes
authorVenky Shankar <vshankar@redhat.com>
Fri, 7 Feb 2020 05:26:03 +0000 (00:26 -0500)
committerRamana Raja <rraja@redhat.com>
Mon, 16 Mar 2020 09:47:52 +0000 (15:17 +0530)
commit26ace8cf4549ae239b5e41dc161366dd6af565d1
tree748c9a188647ed4381a1ed780b24420fa2d46f7c
parentdf116c29793e623a2d2e41ea95ee23bc31b0b43f
mgr/volumes: synchronize inode attributes for cloned subvolumes

Synchronize ownership, permission and inode timestamp (access and
modification times) for all supported inode types. Note that inode
timestamps are synchronized upto seconds granularity.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit aac6b5f1cef7d055bdde797519aece779d06fb41)

 Conflicts:
src/pybind/mgr/volumes/fs/async_cloner.py
        - uid and gid arguments of chown() and copy_file() were
          type converted to `int` for nautilus.
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/fs_util.py