On Thu, May 29, 2014 at 6:48 PM, David Howells wrote: > > http://git.infradead.org/users/dhowells/unionmount-testsuite.git > > Check it out and read the README file as to how to drive it. Sorry, it's a > bit crude. I may rewrite it in python or perl at some point. > > Make sure you turn on CONFIG_LOCKDEP before running it - you don't want to > miss any locking conflicts! > > Further tests would be appreciated. There are no rename tests, for instance. > I am testing this with current OverlayFS (here: as module). # grep LOCKDEP /boot/config-3.15.0-rc7-58.1-iniza-small CONFIG_LOCKDEP_SUPPORT=y ( My full kernel-config is attached. ) Attached is one patch to fix a hardcoded path to mount binary. I cannot run the testsuite successfully... # LC_ALL=C TEST_OVERLAYFS=1 ./run.sh *** *** ./run.sh open-plain.test *** TEST100: Open O_RDONLY - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz ./tool_box.inc: line 144: /usr/local/bin/open-file: No such file or directory [ ./tool_box.inc ] ... echo " - open_file" "$@" $add if $openfile "$@" $add <--- Line #144 then : else exit $? fi check_not_tainted } # LC_ALL=C ll /mnt/a/foo100 -rw-r--r-- 1 bin bin 12 May 29 19:06 /mnt/a/foo100 # LC_ALL=C df -h Filesystem Size Used Avail Use% Mounted on rootfs 17G 13G 3.5G 79% / udev 1.9G 12K 1.9G 1% /dev tmpfs 386M 892K 385M 1% /run /dev/sda2 444G 113G 332G 26% /host /dev/loop0 17G 13G 3.5G 79% / none 5.0M 0 5.0M 0% /run/lock none 1.9G 180K 1.9G 1% /run/shm lower_layer 1.9G 240K 1.9G 1% /lower upper_layer 1.9G 0 1.9G 0% /upper overlayfs 1.9G 0 1.9G 0% /mnt Not sure what's wrong. - Sedat -