From de4ddace2ecf535690f22631aee2657d86e2dc74 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 5 Dec 2007 18:57:34 +0000 Subject: [PATCH] Fix minimum readahead debug message. --- WHATS_NEW_DM | 1 + libdm/libdm-common.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index c2372c104..04098ec28 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.24 - =================================== + Fix minimum readahead debug message. Version 1.02.23 - 5th December 2007 =================================== diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index dae804cfb..06ff6ed5a 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -438,8 +438,8 @@ static int _set_dev_node_read_ahead(const char *dev_name, uint32_t read_ahead, return_0; if (current_read_ahead > read_ahead) { - log_debug("%s: read ahead %" PRIu32 - " below minimum of %" PRIu32, + log_debug("%s: retaining kernel read ahead of %" PRIu32 + " (requested %" PRIu32 ")", dev_name, current_read_ahead, read_ahead); return 1; }