diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2013-07-15 11:41:07 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2013-07-15 15:43:28 +0200 |
commit | e5c30061fc5652846a61fcd460c6a1636d346a7c (patch) | |
tree | 401ba437d64bc1f89e397bc9e44620a0108a71cd /libdm/libdm-common.c | |
parent | 55d90b64207739ddee710f40cab8b71fc45d9849 (diff) | |
download | lvm2-e5c30061fc5652846a61fcd460c6a1636d346a7c.tar.gz |
libdm: remove unneeded read_ahead settings
Skip settings are read_ahead value which is already set in kernel.
Diffstat (limited to 'libdm/libdm-common.c')
-rw-r--r-- | libdm/libdm-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index d18de9ce2..8d5eca884 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -1221,7 +1221,7 @@ static int _set_dev_node_read_ahead(const char *dev_name, if (!get_dev_node_read_ahead(dev_name, major, minor, ¤t_read_ahead)) return_0; - if (current_read_ahead > read_ahead) { + if (current_read_ahead >= read_ahead) { log_debug_activation("%s: retaining kernel read ahead of %" PRIu32 " (requested %" PRIu32 ")", dev_name, current_read_ahead, read_ahead); |