overlay: test decoding overlay file handles with warm/cold dentry cache
authorAmir Goldstein <amir73il@gmail.com>
Thu, 29 Mar 2018 12:06:50 +0000 (15:06 +0300)
committerEryu Guan <guaneryu@gmail.com>
Thu, 29 Mar 2018 13:07:20 +0000 (21:07 +0800)
commit03d77eb7539be1466b1dd954c86e0b67bfd37a79
tree2ce8249d25e9579fd97d3609843e553681ade83c
parent555cdbee56476fa8e34cd8bd400f39fa70e0ece0
overlay: test decoding overlay file handles with warm/cold dentry cache

When opening a non-dir by file handle and the decoded inode/dentry
are not in cache, the resulting dentry is "disconnected" (i.e. unknown
path). This is a common case that is already covered by previous tests.
This test covers the case of decoding an overlay file handle, while a
disconnected dentry is still in cache.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/overlay/058 [new file with mode: 0755]
tests/overlay/058.out [new file with mode: 0644]
tests/overlay/group