open_by_handle: test file handles of open files
authorAmir Goldstein <amir73il@gmail.com>
Thu, 2 Nov 2017 10:15:37 +0000 (12:15 +0200)
committerEryu Guan <eguan@redhat.com>
Fri, 10 Nov 2017 04:33:37 +0000 (12:33 +0800)
commit48a67c3543046b024dd43f0f1556276ab03f04ce
tree16bcb422c81e55ded57796c94182f3fb96ba9bca
parentfcaeb02ed177ef8fd72b73465089c9fc0e2b31f9
open_by_handle: test file handles of open files

usage: open_by_handle -dk <test_dir> [N]

Get file handles for existing test set, keep open file handles for all
test files, unlink all test files, drop caches and try to open all files
by handle.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
src/open_by_handle.c