Fixed
Created: Nov 9, 2014
Updated: Dec 3, 2018
Resolved Date: Dec 17, 2014
Previous ID: LIN5-19670
Found In Version: 6.0
Fix Version: 6.0.0.16
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Kernel
Architecture: ARM
wrl5 / Multicore / yaffs : corruption in linked lists when parallel access is done on filesystem.
this is due to multicore access to the structures inside the Filesystem
on the lsi_app33xx (so called robin board) :
configure --with-layer=/layers/meta-siu,/layers/meta-eri-siu02,/layers/fs-final,rcfl,cgp,wr-security,meta-selinux --with-template=feature/siu_rootfs,feature/ericsson-arm --enable-build=production --enable-rootfs=siu --enable-kernel=standard --enable-board=eri-siu02 --enable-addons=wr-rcfl,wr-cgp --enable-reconfig --enable-parallel-pkgbuilds=8 --enable-jobs=8 --enable-unsupported-config=yes --with-rcpl-version=0015 --enable-checkout-all-layers=yes
------------------
root@128:/root# cat excersice-fs.sh
#!/bin/sh
MNT=/mnt/mtdblock2
while true; do
echo "creating file"
echo "robin" > $MNT/batman
echo "removing file"
rm $MNT/batman
done
root@128:/root# cat sync-fs.sh
#!/bin/sh
while true; do
sync
done
root@128:/root#
Then I start the excercise in background and run sync in forground, which then gets me to the issue:
root@128:/root# jobs
[1]+ Running sh excersice-fs.sh > /dev/null &
root@128:/root# sh sync-fs.sh
--------------