summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-08-31 11:05:39 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2016-08-31 11:13:59 +0200
commitb26604c8d84a189fc3ee276d6e8711a49eecd831 (patch)
tree2b9120e663e57c65d20086018ecf523538949c49
parent16ed726610eca266bc6ef03989a156862ebf3d7a (diff)
downloadlvm2-b26604c8d84a189fc3ee276d6e8711a49eecd831.tar.gz
dmeventd: typo and debug name fix
Fix 'raw' -> 'row' fix. Consitently use thin pool as a type of monitored device in info message.
-rw-r--r--daemons/dmeventd/plugins/thin/dmeventd_thin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/daemons/dmeventd/plugins/thin/dmeventd_thin.c b/daemons/dmeventd/plugins/thin/dmeventd_thin.c
index 622910f4b..d5a3a5923 100644
--- a/daemons/dmeventd/plugins/thin/dmeventd_thin.c
+++ b/daemons/dmeventd/plugins/thin/dmeventd_thin.c
@@ -251,7 +251,7 @@ static int _umount_device(char *buffer, unsigned major, unsigned minor,
if ((major == data->info.major) && dm_bit(data->minors, minor)) {
if (dm_split_words(buffer, DM_ARRAY_SIZE(words), 0, words) < DM_ARRAY_SIZE(words))
words[9] = NULL; /* just don't show device name */
- log_info("Unmounting thin %s (%d:%d) of thin-pool %s (%u:%u) from mount point \"%s\".",
+ log_info("Unmounting thin %s (%d:%d) of thin pool %s (%u:%u) from mount point \"%s\".",
words[9] ? : "", major, minor, data->device,
data->info.major, data->info.minor,
target);
@@ -429,7 +429,7 @@ out:
if (state->fails >= MAX_FAILS) {
log_warn("WARNING: Dropping monitoring of %s. "
- "lvm2 command fails too often (%u times in raw).",
+ "lvm2 command fails too often (%u times in row).",
device, state->fails);
pthread_kill(pthread_self(), SIGALRM);
}
@@ -458,11 +458,11 @@ int register_device(const char *device,
state->data_percent_check = CHECK_MINIMUM;
*user = state;
- log_info("Monitoring thin %s.", device);
+ log_info("Monitoring thin pool %s.", device);
return 1;
bad:
- log_error("Failed to monitor thin %s.", device);
+ log_error("Failed to monitor thin pool %s.", device);
return 0;
}
@@ -476,7 +476,7 @@ int unregister_device(const char *device,
struct dso_state *state = *user;
dmeventd_lvm2_exit_with_pool(state);
- log_info("No longer monitoring thin %s.", device);
+ log_info("No longer monitoring thin pool %s.", device);
return 1;
}