Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: break out librados-using cephfs test #10452

Merged
merged 1 commit into from Aug 7, 2016
Merged

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Jul 27, 2016

We are seeing an issue due to the lockdep symbols
in libcephfs and librados clashing, which shows itself
after a fork in the flock tests. We can avoid this
by splitting the libcephfs tests that require librados
(access.cc) into their own compilation unit so that
the flock tests can run in a libcephfs-only process.

Fixes: http://tracker.ceph.com/issues/16556
Signed-off-by: John Spray john.spray@redhat.com

We are seeing an issue due to the lockdep symbols
in libcephfs and librados clashing, which shows itself
after a fork in the flock tests.  We can avoid this
by splitting the libcephfs tests that require librados
(access.cc) into their own compilation unit so that
the flock tests can run in a libcephfs-only process.

Fixes: http://tracker.ceph.com/issues/16556
Signed-off-by: John Spray <john.spray@redhat.com>
@tchaikov
Copy link
Contributor

@jcsp, fwiw, i will also work on a patch to hide the non-public symbols in librados and libcephfs like what autotools is doing as suggested by @batrick .

@tchaikov
Copy link
Contributor

#10472 is the PR.

@tchaikov
Copy link
Contributor

@jcsp @badone and me were discussing this issue this morning, probably we can do fork() in a safer way? see http://tracker.ceph.com/issues/16556#note-11.

@jcsp
Copy link
Contributor Author

jcsp commented Jul 29, 2016

I'll close this once we've seen a fs suite pass with #10472 (which has now merged)

@jcsp jcsp self-assigned this Jul 29, 2016
@jcsp
Copy link
Contributor Author

jcsp commented Aug 7, 2016

I'm merging this because without it #9566's tests were failing (presumably due to who-knows-what other fork()-related weirdness that I don't want to investigate right now)

@jcsp jcsp merged commit d9948bb into ceph:master Aug 7, 2016
@jcsp jcsp deleted the wip-16556 branch August 7, 2016 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants