Patchwork [bitbake-devel,v2] monitordisk: lower inode check warning to note

login
register
mail settings
Submitter Olof Johansson
Date Oct. 18, 2013, 10:21 a.m.
Message ID <1382091719-30603-1-git-send-email-olof.johansson@axis.com>
Download mbox | patch
Permalink /patch/60227/
State New
Headers show

Comments

Olof Johansson - Oct. 18, 2013, 10:21 a.m.
Filesystems like btrfs and reiserfs sets the inode count to 0, since
they don't have an inode concept. This is expected, and having a warning
show up every time you run bitbake can cause undue concern.

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
---
Fixes stupid typo in commit message. Thanks Chris!
---
 lib/bb/monitordisk.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/monitordisk.py b/lib/bb/monitordisk.py
index 3e6ecbd..fca43ee 100644
--- a/lib/bb/monitordisk.py
+++ b/lib/bb/monitordisk.py
@@ -243,7 +243,7 @@  class diskMonitor:
                     # zero, this is a feature of the fs, we disable the inode
                     # checking for such a fs.
                     if st.f_files == 0:
-                        logger.warn("Inode check for %s is unavaliable, will remove it from disk monitor" % path)
+                        logger.info("Inode check for %s is unavaliable, will remove it from disk monitor" % path)
                         self.devDict[k][2] = None
                         continue
                     # Always show warning, the self.checked would always be False if the action is WARN