public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/3] Print when ENOSPC due to lack of inodes in non-inode64 mount.
@ 2012-09-11 22:13 raghu.prabhu13
  2012-09-11 22:13 ` [PATCH 1/3] Add ratelimited printk for different alert levels raghu.prabhu13
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: raghu.prabhu13 @ 2012-09-11 22:13 UTC (permalink / raw)
  To: xfs; +Cc: Raghavendra D Prabhu

From: Raghavendra D Prabhu <rprabhu@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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2012-09-26  6:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 22:13 [PATCH V2 0/3] Print when ENOSPC due to lack of inodes in non-inode64 mount raghu.prabhu13
2012-09-11 22:13 ` [PATCH 1/3] Add ratelimited printk for different alert levels raghu.prabhu13
2012-09-11 22:43   ` Dave Chinner
2012-09-12  3:22   ` Joe Perches
2012-09-13  0:51     ` Dave Chinner
2012-09-11 22:13 ` [PATCH 2/3] XFS: Print error when xfs_ialloc_ag_select fails to find continuous free space raghu.prabhu13
2012-09-11 22:48   ` Dave Chinner
2012-09-11 22:13 ` [PATCH 3/3] XFS: Print error when unable to allocate inodes or out of free inodes raghu.prabhu13
2012-09-11 23:21   ` Dave Chinner
2012-09-21  7:16     ` Raghavendra D Prabhu
2012-09-26  6:14       ` Raghavendra Prabhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox