Re: XFS assertion from truncate. (3.10-rc2)

From: Dave Jones
Date: Fri May 24 2013 - 16:17:11 EST


On Fri, May 24, 2013 at 06:03:00PM +1000, Dave Chinner wrote:

> xfstest generic/193 is *supposed* to test behaviour of suid/sgid bits
> and clearing them is various situations.
>
> You know what I'm about to say, don't you? The test doesn't test
> what it thinks it is testing. it puts the destination file in root
> directory of the xfstests harness, not in the filesystems being
> tested.

awesome, two bugs for the price of one!

> So, on all my machines, it runs on ext3 filesystems, never on the
> ext4, btrfs, xfs, etc filesystems that I'm actually testing.
>
> That's beside the point, because it doesn't test truncate behaviour.
> But at least I know now why my attempts to reproduce the problem
> didn't work...
>
> Right, patch below should fix the problem.

Haven't seen anything out of the ordinary since I applied that,
so I'd call it good.

> What a frustrating bug. Now, where's my bottle of scotch?

heh, enjoy the weekend.

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/