Yan, Zheng
89759654c1
qa/cephfs: add test for blacklisted client eviction
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2019-06-05 21:05:06 +08:00
Sidharth Anupkrishnan
9f40c783db
qa: fs Ignore getfattr errors for ceph.dir.pin
...
Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
2019-05-09 18:46:21 +05:30
Zhi Zhang
36f85fd3bb
qa: add test for getfattr ceph.dir.pin
...
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2018-11-19 11:20:26 +08:00
Patrick Donnelly
fbc25b4486
mds: check for session import race
...
Credit to Yan Zheng for identifying the race condition [1].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1572555#c7
Test-for: http://tracker.ceph.com/issues/24072
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-14 12:52:50 -07:00
Patrick Donnelly
8db2c43e79
qa: test export_pin is correct in dumped subtree
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-31 15:33:49 -07:00
Patrick Donnelly
97cdb1e34a
Merge remote-tracking branch 'upstream/pull/15817/head' into master
...
* upstream/pull/15817/head:
qa: wait for healthy cluster before testing pins
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-07-06 21:36:34 -07:00
John Spray
b6cfa35458
qa: no longer need to explicitly enable multimds
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-23 17:07:34 +01:00
Patrick Donnelly
d4870a093c
qa: wait for healthy cluster before testing pins
...
Fixes: http://tracker.ceph.com/issues/20318
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-06-21 13:21:32 -07:00
John Spray
7e1be30b9a
qa: clean up test_exports.py
...
Mainly just using the setfattr helper
instead of run_shell.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-01 07:18:03 -04:00
Patrick Donnelly
76335b0e0f
qa: improve debug message for subtree wait
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-30 09:08:27 -07:00
Patrick Donnelly
9552efde4a
qa: improve time handling for test_exports test
...
Also catches corner-case found by Zheng where an unjournaled directory will
cause export pinning to fail because it cannot be made a subtree until its
parent is stable.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-05 19:07:05 -04:00
Patrick Donnelly
63cbe330b7
qa: remove errant mount requirement
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-02 18:29:08 -04:00
Patrick Donnelly
6bd58fefb7
mds: use aux subtrees for export pinned inodes
...
Idea here is that a pinned inode should not be exported when its parent is.
Setting the pinned inode's dirfrags to aux subtrees prevents them from being
merged with a parent subtree.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-02 00:30:35 -04:00
Patrick Donnelly
0b420be7e9
mds: add export_pin feature
...
This allows the client/admin to pin a directory tree to a particular rank,
preventing its export by the dynamic balancer.
Fixes: http://tracker.ceph.com/issues/17834
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-04-19 18:21:19 -04:00