Skip to contentSkip to conversation

master - bcache: change log level for prefetch message

PATCH David Teigland 1 participant 1 message Sep 3, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=fcbffbdbc0a29287c65bfc378eb8aa99fd6490c1
Commit:        fcbffbdbc0a29287c65bfc378eb8aa99fd6490c1
Parent:        25b58310e3d606a85abc9bd50991ccb7ddcbfe25
Author:        David Teigland <[email protected]>
AuthorDate:    Tue Sep 3 12:02:09 2019 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Tue Sep 3 12:02:09 2019 -0500

bcache: change log level for prefetch message

The "new new blocks" message was printed as an error but it's not an error condition.

---
 lib/device/bcache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/device/bcache.c +1 -1
index 04fbf35..d100419 100644
@@ -957,7 +957,7 @@ static struct block *_new_block(struct bcache *cache, int fd, block_address i, b
 					_writeback(cache, 16);  // FIXME: magic number
 				_wait_io(cache);
 			} else {
-				log_error("bcache no new blocks for fd %d index %u",
+				log_debug("bcache no new blocks for fd %d index %u",
 					  fd, (uint32_t) i);
 				return NULL;
 			}