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
mds: split up mdstypes #46295
mds: split up mdstypes #46295
Conversation
@dparmar18 |
Thanks, it's fixed. |
06b4934
to
781f836
Compare
8e6d570
to
e463968
Compare
@dparmar18 I gave it a quick look, looks okay. |
EDIT: You just removed it. XD |
@batrick, Done with all the requested changes. apologies for the mixup related to whitespace modifications. IDE used to remove all the trailing white spaces and I just discovered that setting a few minutes back. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit: newline missing at the end of the /cephfs/types.h
.Otherwise, LGTM
Yeah added now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dparmar18 - https://jenkins.ceph.com/job/ceph-dev-new-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos8,DIST=centos8,MACHINE_SIZE=gigantic/63017//consoleFull
error: Installed (but unpackaged) file(s) found:
/usr/include/cephfs/types.h
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/include/cephfs/types.h
+ rm -fr /tmp/install-deps.999737
Build step 'Execute shell' marked build as failure```
Looks good otherwise. |
@vshankar What spec file do I need to add this file path to? Also what way should I test it after adding the file-path in the respective spec file? |
I think you can refer to what the |
@lxbsz True. I and Dhairya figured the same yesterday but any idea how to re-run that job to test that change? And is possible to do it locally without too much hassle? |
Maybe you can test this locally by using the docker, please see |
@lxbsz I can also see ceph.spec.in for centos. fedora and opensuse under src/test, Do i also need to add the file path to those spec files? |
The others are all link files, you can check it. So no need. |
Thanks! |
Okay, but the build process would again take a few hours too, right? |
...
It seems. |
mdstypes.h contains both MDS-exclusive and client-shared structs. This PR splits it up into "mdstypes.h" and "sharedtypes.h". Fixes: https://tracker.ceph.com/issues/3998 Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
@vshankar looks like the builds are getting generated successfully in https://shaman.ceph.com/builds/ceph/ after I pushed my latest changes. Build with config that failed previously i.e. centos-x86_64 is built successfully now. PS: build name is 'wip-mds_split' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mdstypes.h contains both MDS-exclusive and client-shared structs.
This PR splits it up into "mdstypes.h" and "sharedtypes.h".
Fixes: https://tracker.ceph.com/issues/3998
Signed-off-by: dparmar18 dparmar@redhat.com
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows