zfs/tests/zfs-tests/tests/functional/snapshot
Brian Behlendorf c454e46336 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
2022-02-16 17:58:55 -08:00
..
Makefile.am Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
cleanup.ksh ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
clone_001_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
rollback_001_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rollback_002_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rollback_003_pos.ksh ZTS: Fix rollback_003_pos.ksh 2022-02-16 17:58:55 -08:00
setup.ksh ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
snapshot.cfg Enable remaining tests 2017-05-22 12:34:32 -04:00
snapshot_001_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
snapshot_002_pos.ksh Fix typos in tests/ 2019-09-02 17:58:26 -07:00
snapshot_003_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
snapshot_004_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
snapshot_005_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
snapshot_006_pos.ksh Fix typos in tests/ 2019-09-02 17:58:26 -07:00
snapshot_007_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
snapshot_008_pos.ksh Enable remaining tests 2017-05-22 12:34:32 -04:00
snapshot_009_pos.ksh Block_device_wait does not return an error code 2019-06-10 09:21:08 -07:00
snapshot_010_pos.ksh Block_device_wait does not return an error code 2019-06-10 09:21:08 -07:00
snapshot_011_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
snapshot_012_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
snapshot_013_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
snapshot_014_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
snapshot_015_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
snapshot_016_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
snapshot_017_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00