Add tests that unmount a file system while it is busy. On a vnd
authorbluhm <bluhm@openbsd.org>
Mon, 15 Jan 2018 23:58:43 +0000 (23:58 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 15 Jan 2018 23:58:43 +0000 (23:58 +0000)
commitd26daa75b0e155b5bc8c050cc964cd6ef794bd88
tree0b17567c05f10cd4b44d61791a42b312e972856c
parente2f403d15ab190a455dd9d4efca30d7dfb7cc64f
Add tests that unmount a file system while it is busy.  On a vnd
device "cp -r" and "rm -rf" are working in the background while
"umount -f" or "mount -ur" are executed.  Then "fsck -f" is used
to verify that the file system is clean.
Currently this triggers a bug quite reliably.  After the mount point
has been changed to read-only, the file system check shows that not
everything was flushed and synced properly.
regress/sys/kern/mount/Makefile
regress/sys/kern/mount/disktemplate