There's no guarantee the MDS will recall state faster than the client
can open the inodes. (Recall happens every ~2 seconds.)
Fixes: https://tracker.ceph.com/issues/49500
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
b3aac52075bc6c90410a70ad868820042a96b5f0)
#include <string>
+#include <unistd.h>
#include <include/fs_types.h>
#include <mds/mdstypes.h>
#include <include/cephfs/libcephfs.h>
ret = ceph_ll_lookup_inode(cmount, inos[i], &inodes[i]);
assert(ret >= 0);
}
+ sleep(45);
assert(cb_done);
return 0;