aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorMatthew Sakai <msakai@redhat.com>2024-02-22 20:44:29 -0500
committerMike Snitzer <snitzer@kernel.org>2024-03-04 15:07:55 -0500
commite1e510fcad19c67e122003028c15293115a5b9d7 (patch)
treef26199bc7fdfa4af632739d0fffe020c80a4bad5 /drivers/md
parentbbe434d94e007d3db258cfbc16336290af39d0bc (diff)
downloadlinux-e1e510fcad19c67e122003028c15293115a5b9d7.tar.gz
dm vdo: update module comments
Update outdated comments referring to separate VDO and UDS modules. Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-vdo/dm-vdo-target.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/md/dm-vdo/dm-vdo-target.c b/drivers/md/dm-vdo/dm-vdo-target.c
index 0114fa4d48a2a..429a285cbc4a5 100644
--- a/drivers/md/dm-vdo/dm-vdo-target.c
+++ b/drivers/md/dm-vdo/dm-vdo-target.c
@@ -2907,9 +2907,7 @@ static int __init vdo_init(void)
{
int result = 0;
- /*
- * UDS module level initialization must be done first, as VDO initialization depends on it
- */
+ /* Memory tracking must be initialized first for accurate accounting. */
uds_memory_init();
uds_init_sysfs();
@@ -2917,7 +2915,7 @@ static int __init vdo_init(void)
vdo_initialize_device_registry_once();
uds_log_info("loaded version %s", CURRENT_VERSION);
- /* Add VDO errors to the already existing set of errors in UDS. */
+ /* Add VDO errors to the set of errors registered by the indexer. */
result = vdo_register_status_codes();
if (result != UDS_SUCCESS) {
uds_log_error("vdo_register_status_codes failed %d", result);
@@ -2939,11 +2937,8 @@ static int __init vdo_init(void)
static void __exit vdo_exit(void)
{
vdo_module_destroy();
- /*
- * UDS module level exit processing must be done after all VDO module exit processing is
- * complete.
- */
uds_put_sysfs();
+ /* Memory tracking cleanup must be done last. */
uds_memory_exit();
}