All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] monitordisk.py: disable inode checking for btrfs
@ 2013-04-15  8:47 Robert Yang
  2013-04-15  8:47 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2013-04-15  8:47 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit 068085f79010e3db70085d4b789f84ae721e4901:

  ref-manual: Review comments applied for patch session (2013-04-13 23:57:17 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib robert/monitor
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/monitor

Robert Yang (1):
  monitordisk.py: disable inode checking for btrfs

 bitbake/lib/bb/monitordisk.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
1.7.7




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] monitordisk.py: disable inode checking for btrfs
  2013-04-15  8:47 [PATCH 0/1] monitordisk.py: disable inode checking for btrfs Robert Yang
@ 2013-04-15  8:47 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2013-04-15  8:47 UTC (permalink / raw)
  To: bitbake-devel

The btrfs doesn't have static inode, so disable the inode check for it,
the previouse patch has set it:

minInode = None

But this is incorrect, the minInode is just a temporary variable, it
should be:

self.devDict[k][2] = None

[YOCTO #3609]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 bitbake/lib/bb/monitordisk.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bitbake/lib/bb/monitordisk.py b/bitbake/lib/bb/monitordisk.py
index a71dd9f..c6d0767 100644
--- a/bitbake/lib/bb/monitordisk.py
+++ b/bitbake/lib/bb/monitordisk.py
@@ -244,7 +244,7 @@ class diskMonitor:
                     # 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)
-                        minInode = None
+                        self.devDict[k][2] = None
                         continue
                     # Always show warning, the self.checked would always be False if the action is WARN
                     if self.preFreeI[k] == 0 or self.preFreeI[k] - freeInode > self.inodeInterval and not self.checked[k]:
-- 
1.7.7




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-15  9:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15  8:47 [PATCH 0/1] monitordisk.py: disable inode checking for btrfs Robert Yang
2013-04-15  8:47 ` [PATCH 1/1] " Robert Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.