[PATCH V2 0/3] Print when ENOSPC due to lack of inodes in non-inode64 mount.
raghu.prabhu13 at gmail.com
raghu.prabhu13 at gmail.com
Tue Sep 11 17:13:21 CDT 2012
From: Raghavendra D Prabhu <rprabhu at wnohang.net>
Currently, when there are no free inodes left / free space to allocate them (usually
without inode64), there is no indication anywhere of this case, making it harder
to diagnose this case.
Hence, this series prints the causes/reasons to kernel log in a ratelimited
manner, when such a situation arises.
-----
Version 1: Initially sent with pr_err_once to print the error only once.
Version 2: Added ratelimited functions to xfs_message.h instead of printing once
with pr_err_once on suggestion of Dave Chinner.
Raghavendra D Prabhu (3):
Add ratelimited printk for different alert levels
XFS: Print error when xfs_ialloc_ag_select fails to find continuous
free space.
XFS: Print error when unable to allocate inodes or out of free
inodes.
fs/xfs/xfs_ialloc.c | 24 +++++++++++++++++++-----
fs/xfs/xfs_message.h | 28 ++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 5 deletions(-)
--
1.7.12
More information about the xfs
mailing list