diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2023-09-20 19:38:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-06 14:16:30 +0300 |
commit | 907f4f29789e46dd554edf6dc317dd99a5e92451 (patch) | |
tree | 3b452d802fd2eb3a944b5900c743c4762e63939e /scripts/gdb/linux/modules.py | |
parent | d1de64c03983129efcdf4152a445ed2f600d3f25 (diff) | |
download | linux-907f4f29789e46dd554edf6dc317dd99a5e92451.tar.xz |
rbd: decouple parent info read-in from updating rbd_dev
commit c10311776f0a8ddea2276df96e255625b07045a8 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions