I've come across a bug in WineFS that occurs when a file is truncated. I'm running WineFS in a QEMU/KVM virtual machine with 4 cores, 8GB DRAM, and 128MB emulated PM.
The steps to reproduce the issue are:
Mount WineFS at /mnt/pmem using mount -t winefs -o init,strict /dev/pmem0 /mnt/pmem
Run this program: test5.zip which creates a file and performs some writes to it with multiple file descriptors, then truncates it
While truncating, the kernel appears to hit the BUG_ON on line 544 of inode.c. This is the output I get:
Hi Rohan,
I've come across a bug in WineFS that occurs when a file is truncated. I'm running WineFS in a QEMU/KVM virtual machine with 4 cores, 8GB DRAM, and 128MB emulated PM.
The steps to reproduce the issue are:
mount -t winefs -o init,strict /dev/pmem0 /mnt/pmem
While truncating, the kernel appears to hit the
BUG_ON
on line 544 of inode.c. This is the output I get: