Folks, I just got this ASSERT failure running xfstests on a 3.1.8 xfsprogs and a 3.9-rc1 kernel running test 297: [ 2593.733005] XFS: Assertion failed: BTOBB(need_bytes) < log->l_logBBsize, file: fs/
Hi Dave, I just did a quick verification. mkfs.xfs version 3.1.8 Linux koala 3.9.0-rc1 #80 SMP Tue Mar 12 15:06:39 CST 2013 x86_64 x86_64 x86_64 GNU/Linux meta-data=/dev/sda6 isize=256 agcount=4, ags
.... That's a different mkfs.xfs config to what test 297 is using. Different log size, different AG count, no log stripe unit, etc. 297 is using: scratch_mkfs_xfs -d agcount=16,su=256k,sw=12 -l su=25
Sure, verified against a new built 3.8.0 kernel, so this should be a regression issue. $ uname -a Linux koala 3.8.0 #81 SMP Tue Mar 12 18:03:44 CST 2013 x86_64 x86_64 x86_64 GNU/Linux Thanks, -Jeff
Thanks for following up so quickly, Jeff. So the problem is that a new test is tripping over a bug that has been around for a while, not that it is a new regression. OK, so I'll expunge that from my
I did some further tests to nail down this issue, just posting the analysis result here, it might be of some use when we revising it again. The disk is formated with Dave's previous comments, i.e. mk
On 03/26/13 05:14, Jeff Liu wrote: On 03/12/2013 08:05 PM, Dave Chinner wrote: On Tue, Mar 12, 2013 at 07:56:35PM +0800, Jeff Liu wrote: More info, 3.7.0 is the oldest kernel on my environment, I ran
If you mount 2.6.39 with "-o nodelaylog", does the problem go away? That's what I suspected was the problem. i.e. that the log was too small for the given configuration. The question is this: how muc
Sorry for my late response. Yes, it need 3531 blocks, but only 2560 blocks is reserved for the logspace. 927 blocks(i.e. max_tr_res * XFS_MIN_LOG_FACTOR) which can be detected at mkfs stage. But the
touch file is ok, but create directory still cause the assertion failure. I still need some time to understand the space reservation strategy to figure them out. :( Thanks, -Jeff
So it is not related to the way that delayed logging steals reservations for the CIL context checkpoint as the problem still occurs when delayed logging is disabled. That means it is likely to be rel