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

API cleanup for libcephfs interfaces #12106

Merged
merged 2 commits into from Nov 28, 2016
Merged

API cleanup for libcephfs interfaces #12106

merged 2 commits into from Nov 28, 2016

Conversation

jtlayton
Copy link
Contributor

@jtlayton jtlayton commented Nov 21, 2016

Just a couple of patches to do some cleanup of the statx-based APIs. The main thing we need to ensure is that no callers are setting flags that we don't currently recognize, as that would prevent us from being able to add new flags in the future.

I tried to run tests over the weekend but a bunch died, so I'm rerunning them now:

http://pulpito.ceph.com/jlayton-2016-11-21_14:46:06-fs-wip-jlayton-libcephfs---basic-mira/

Still, this patchset is pretty trivial, so I'll be surprised if it breaks anything.

...in the header. Also, add a doc comment.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Ensure that we can add new flags in the future by not allowing anyone
to set flags that we don't currently recognize.

Fixes: http://tracker.ceph.com/issues/17911
Signed-off-by: Jeff Layton <jlayton@redhat.com>
@jtlayton jtlayton added the cephfs Ceph File System label Nov 21, 2016
@jtlayton
Copy link
Contributor Author

Oh, and I should reference this tracker bug:

http://tracker.ceph.com/issues/17911

Copy link
Member

@gregsfortytwo gregsfortytwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Greg Farnum gfarnum@redhat.com

@gregsfortytwo
Copy link
Member

The code looks good but you should include "Fixes: http://tracker.ceph.com/issues/17911" in the second patch commit message, and at least one of those dead jobs is a libcephfs one so we should figure out what's going on there (we've had much more successful runs very recently).

Copy link
Contributor

@jcsp jcsp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go pending the Fixes line that Greg mentioned.

Those dead test jobs look like nodes just died in the lab, and the fuse unmount failure is known issue 17982

@jtlayton
Copy link
Contributor Author

jtlayton commented Nov 26, 2016

Sigh... added the Fixes line and repushed, and then the build failed for some reason. Looks like:

        Start  14: run-tox-ceph-disk                                            
  7/156 Test  #10: test_objectstore_memstore.sh ............***Failed   15.48 sec

I'm guessing this is another unrelated bug, but if you guys want to sanity check that, then I'd appreciate it.

@tchaikov
Copy link
Contributor

the objectstore test failure is tracked at http://tracker.ceph.com/issues/17743 .

@jcsp jcsp merged commit 49eafeb into master Nov 28, 2016
@tchaikov tchaikov deleted the wip-jlayton-libcephfs branch November 28, 2016 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cephfs Ceph File System
Projects
None yet
4 participants