On 10/27/2010 9:09 AM, Stephen Hemminger wrote:
On Wed, 27 Oct 2010 11:19:25 -0400
"Matthew L. Creech"<[email protected]> wrote:
Turns out it doesn't take much to trigger the crash. You can
reproduce the bug reliably by compiling the attached program, then
doing something like this:
mkdir /tmp/asdf
mount -t tmpfs none /tmp/asdf
mkdir /tmp/asdf/rw
mkdir /tmp/asdf/ro
mkdir /tmp/asdf/overlay
mount -t unionfs -o dirs=/tmp/asdf/rw=rw:/tmp/asdf/ro=ro none /tmp/asdf/overlay
kill-unionfs /tmp/asdf/overlay/test.txt
Also, it's worth noting that Ext3 seems to have had a similar problem,
so there may be something you can glean from the fix that was
implemented there (although from what I can gather, that case was more
of a problem with the quota code):
http://lkml.org/lkml/2010/7/20/26
I can not reproduce the problem with KVM (amd64) using 2.6.35.7 patched with
unionfs 2.5.4.
At least for me, the problem does not happen with 2.6.35.7 but does
happen with 2.6.36, both patched with unionfs 2.5.6 as well as the oops
on unlink patch.
_______________________________________________
unionfs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs