summaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2023-09-20 18:38:26 +0200
committerIlya Dryomov <idryomov@gmail.com>2023-09-26 10:31:33 +0200
commitc10311776f0a8ddea2276df96e255625b07045a8 (patch)
treead89dd9b254cefafbe96181eaa3c8ad792f6b5a6 /.rustfmt.toml
parent510a7330c82a7754d5df0117a8589e8a539067c7 (diff)
rbd: decouple parent info read-in from updating rbd_dev
Unlike header read-in, parent info read-in is already decoupled in get_parent_info(), but it's buried in rbd_dev_v2_parent_info() along with the processing logic. Separate the initial read-in and update read-in logic into rbd_dev_setup_parent() and rbd_dev_update_parent() respectively and have rbd_dev_v2_parent_info() just populate struct parent_image_info (i.e. what get_parent_info() did). Some existing QoI issues, like flatten of a standalone clone being disregarded on refresh, remain. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions