Joonwoo Park: > Attached patch looked like solve this problem but no luck. > This patch reduced lots of ubifs assertion failures but I'm still > seeing assertion failure after large size of mmap writing (actually > exiting the process after mmap writing). > It seems that I still have a problem when do_munmap from sys_exit is called= > . > > Do you have any idea for this issue?
Addition to your patch, please test this patch too.
I am testing now.
> I can reproduce this problem without real nand flash chip like below,
> You have to configure CONFIG_UBIFS_FS_DEBUG to get ubifs assertion:
> modprobe ubifs
> modprobe nandsim
> ubiattach /dev/ubi_ctrl -m 0
> ubimkvol /dev/ubi1 -m -N commonrw
> mount -t ubifs -o rw,sync ubi1:commonrw /tmp/rw
I had to change a little these commands.
Is this OK?
ubiattach /dev/ubi_ctrl -m 0
ubimkvol /dev/ubi0 -s 32MiB -N commonrw
mount -t ubifs -o rw,sync ubi:commonrw /tmp/rw
:::
umount /tmp/rw
ubirmvol /dev/ubi0 -n 0
ubidetach /dev/ubi_ctrl -m 0
J. R. Okajima
a.patch.bz2
Description: BZip2 compressed data
------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com
