Assertion failed: atomic_read(&mp->m_active_trans)
Donald Douwsma
donaldd at sgi.com
Wed Dec 3 23:36:43 CST 2008
Dave Chinner wrote:
> On Wed, Dec 03, 2008 at 05:48:49AM -0500, Christoph Hellwig wrote:
>> I'd rather fix it properly.
>
> Sure, but in the mean time, I'd suggest changing it to a WARN_ON()
> rather than an ASSERT(). That way we'll continue to have ppl bug us
> about it until the VFS can support read-only remounts without racing
> correctly.
That sounds like a much better idea.
Unfortunately we wont get feedback when people hit this on the root fs
unless they have serial consoles (since /var/log/... has gone away by then).
> Has that work been dropped on the floor, Christoph? We'vecat
> been holding off removing this ASSERT or adding the hack
> I did to work around the common case of the assert triggering
> based on the fact that the problem in the VFS would be fixed
> in the next release. That was the case each release since
> 2.6.25 and there doesn't seem to be much progress...
>
>> Do you guys have a somewhat reliable
>> testcase hitting it?
>
> I used to have one of the xfsqa tests hit it every so often,
> but not what you'd call reliably....
Indeed, we dont hit this in regular qa. I guess most qa scripts dont
specifically exercise remount readonly wile stressing the filesystem.
The few occasions we have hit it were when rebooting in between test
runs when the root fs was xfs.
Don
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: warn-if-transactions-are-in-flight-on-remount-ro
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20081204/df043dc2/attachment.bat>
More information about the xfs
mailing list