freebsd-nq/tests/test-runner
Brian Behlendorf d2f374c3f2
ZTS: Fix rollback_003_pos.ksh
Under Linux when rolling back a mounted filesystem negative dentries
may not be dropped from the cache.  This can result in an ENOENT
being incorrectly returned on first access.  Issuing a `df` before
the unmount results in the negative dentries being invalidated and
side steps the issue.

This is solely a workaround for the test case on Linux and not
correct behavior.  The core issue of invalidating negative dentries
needs to be handled with a kernel side change.  This is being
tracked as issue #6143.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #12898 
Issue #6143
2021-12-22 11:05:07 -08:00
..
bin ZTS: Fix rollback_003_pos.ksh 2021-12-22 11:05:07 -08:00
include Skip snapshot in zfs_iter_mounted() 2021-10-20 16:07:19 -07:00
man Widen mancheck to all of man and test-runner 2021-05-29 20:22:37 -07:00
Makefile.am Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00