Commit Graph

3 Commits

Author SHA1 Message Date
Kotresh HR
7b2d9c4b58 qa: add more referent inode tests
This patch adds read, rename, hardlink read after mds restart
and kill mds after hardlink operations before flush and
restart tests.

Fixes: https://tracker.ceph.com/issues/69339
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2025-03-05 17:02:06 +05:30
Kotresh HR
43b4ef3f54 qa: referent inodes - unlink, stray_reintegration
The following tests are borrowed from existing test_strays.
and adjusted stray perf count numbers with referent inodes.
Also, added validation of referent_inodes list

  test_mv_hardlink_cleanup_with_referent
  test_hardlink_reintegration_with_referent

Also, added unlink test and ALLOW_REFERENT_INODES flag
to cephfs_test_case. If ALLOW_REFERENT_INODES flag is
set in any test class, referent inodes is enabled for all
the tests in the class.

Fixes: https://tracker.ceph.com/issues/69339
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2025-03-05 17:01:57 +05:30
Venky Shankar
f27a47ac9d qa: referent inode test - link w/ max_mds=1
Add the basic referent inode link test.

Fixes: https://tracker.ceph.com/issues/69339
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2025-03-04 16:45:57 +05:30