Whamcloud - gitweb
LU-17490 tests: verify fanotify works for lustre 69/53869/7
authorLei Feng <flei@whamcloud.com>
Wed, 31 Jan 2024 08:39:55 +0000 (16:39 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Mar 2024 03:24:03 +0000 (03:24 +0000)
commit7101742b4590542e9e6d1590d0ac5e692109f9da
treebab1b828c2ac1378b8a90007ce88095dcb028aad
parent5b07dce19b1830769d7a1f7bba8b559d3ead9dfb
LU-17490 tests: verify fanotify works for lustre

The fanotify API provides notification and interception of filesystem
events. Here we prepare a small util to monitor open/read/write/close
events of file in a filesystem. Verify it works for lustre
filesystem.

Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial
Change-Id: Id57a59bca16133db645e6804024cba9f11d60f1d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53869
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Deiter
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/Makefile.am
lustre/tests/monitor_lustrefs.c [new file with mode: 0644]
lustre/tests/sanity.sh