bitbake: monitordisk.py: disable the inode checking for some fs
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 4 Feb 2013 10:03:35 +0000 (18:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Feb 2013 12:12:36 +0000 (12:12 +0000)
commit2b63fc84f87630281fc5405e507cc9b399dfad82
tree55c1c7c2b20b7ec7528d4f0469d5278afa471833
parent98614522ef0b011d96360ec5d8d58d80788608a5
bitbake: monitordisk.py: disable the inode checking for some fs

There is an error when use disk monitor on btrfs:
WARNING: The free inode of rootfs is running low (0.000K left)
ERROR: Immediately abort since the disk space monitor action is "ABORT"!

This is beucase some fs formats' statvfs.f_files (inodes) is zero, thus
the statvfs.f_favail (free inodes) is zero, too, this a feature of the
fs, we disable the inode checking for such a fs.

[YOCTO #3609]

(Bitbake rev: b2ada3ad5f7aefff107f013e0c9decea481c7ef6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/monitordisk.py