mirror of
https://github.com/ceph/ceph
synced 2026-08-01 22:45:39 +00:00
Revert "qa: Disable referent inodes for a few test_strays tests"
This reverts commit ecd2496933.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
This commit is contained in:
parent
a97958eb0b
commit
2fcd27a980
@ -380,15 +380,7 @@ class TestStrays(CephFSTestCase):
|
||||
in reintegration of inode into the previously-remote dentry,
|
||||
rather than lingering as a stray indefinitely.
|
||||
"""
|
||||
|
||||
# stray perf count numbers in the test don't match when referent inode feature
|
||||
# is enabled because referent inodes becomes a stray whenever hardlink is
|
||||
# deleted or stray is reintegrated, so disable referent inodes here. The
|
||||
# same test for referent inodes is added at qa/tasks/cephfs/test_referent.py
|
||||
self.fs.set_allow_referent_inodes(False)
|
||||
|
||||
# Write some bytes to file_a
|
||||
|
||||
size_mb = 8
|
||||
self.mount_a.run_shell(["mkdir", "dir_1"])
|
||||
self.mount_a.write_n_mb("dir_1/file_a", size_mb)
|
||||
@ -550,13 +542,6 @@ class TestStrays(CephFSTestCase):
|
||||
then we make a stray for B which is then reintegrated
|
||||
into one of his hardlinks.
|
||||
"""
|
||||
|
||||
# stray perf count numbers in the test don't match when referent inode feature
|
||||
# is enabled because referent inodes becomes a stray whenever hardlink is
|
||||
# deleted or stray is reintegrated, so disable referent inodes here. The
|
||||
# same test for referent inodes is added at qa/tasks/cephfs/test_referent.py
|
||||
self.fs.set_allow_referent_inodes(False)
|
||||
|
||||
# Create file_a, file_b, and a hardlink to file_b
|
||||
size_mb = 8
|
||||
self.mount_a.write_n_mb("file_a", size_mb)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user