Hi, * On Thu, May 31, 2012 at 10:31:21PM -0500, Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:
On 5/31/12 2:36 PM, Raghavendra D Prabhu wrote:Hi, Thanks for the review. I have now moved it inside xfs_dialloc. Along with adding the message, I noticed that the loop while (!agi->agi_freecount) { } is redundant when noroom=1 and okalloc=0. Also, xfs_ialloc_ag_alloc function in the loop calls ============ if (mp->m_maxicount && mp->m_sb.sb_icount + XFS_IALLOC_INODES(mp) > mp->m_maxicount) { =============== condition again. So I have moved xfs_tran_brelse etc. into the condition along with message. Is this logic valid? If it is, then I will look into rate-limiting the message etc.It'd be easiest to understand this new change as a patch rather than as a description.
Yeah, I would certainly send it as a patch. This was just for RFC. :)
If you are changing logic or flow in addition to adding the messages, it should almost certainly be sent as more than one patch.
Thanks, I will make it so.
Thanks, -eric _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs
Regards, -- Raghavendra Prabhu GPG Id : 0xD72BE977 Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977 www: wnohang.net
Attachment:
pgpKr6Wsrpq8q.pgp
Description: PGP signature
_______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs