[PATCH 3/3] XFS: Print error when unable to allocate inodes or out of free inodes.

2012-09-11 Thread raghu . prabhu13
From: Raghavendra D Prabhu When xfs_dialloc is unable to allocate required number of inodes or there are no AGs with free inodes, printk the error in ratelimited manner. Signed-off-by: Raghavendra D Prabhu --- fs/xfs/xfs_ialloc.c | 19 +++ 1 file changed, 15 insertions(+), 4 de

[PATCH 2/3] XFS: Print error when xfs_ialloc_ag_select fails to find continuous free space.

2012-09-11 Thread raghu . prabhu13
From: Raghavendra D Prabhu When xfs_ialloc_ag_select fails to find any AG with continuous free blocks required for inode allocation, printk the error in ratelimited manner. Signed-off-by: Raghavendra D Prabhu --- fs/xfs/xfs_ialloc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) di

[PATCH 1/3] Add ratelimited printk for different alert levels

2012-09-11 Thread raghu . prabhu13
From: Raghavendra D Prabhu Ratelimited printk will be useful in printing xfs messages which are otherwise not required to be printed always due to their high rate (to prevent kernel ring buffer from overflowing), while at the same time required to be printed. Signed-off-by: Raghavendra D Prabhu

[PATCH] IRQ: Add a check for uninitialized irqs.

2012-09-09 Thread raghu . prabhu13
From: Raghavendra D Prabhu Errors like "do_IRQ: 0.84 No Irq handler for vector (irq -1)" have been reported earlier filling up the console/logs. So this adds a condition to check for uninitialized irqs so that it exits early and doesn't proceed further. Also, irq is made a signed integer, since i