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

run-cmake-check.sh: Remove redundant calls #11116

Merged
merged 1 commit into from Sep 20, 2016

Conversation

badone
Copy link
Contributor

@badone badone commented Sep 17, 2016

Calling "git submodule init" is redundant since it is called in do_cmake.sh and
there's no reason to do a modprobe of rbd.ko here either.

Signed-off-by: Brad Hubbard bhubbard@redhat.com

Calling "git submodule init" is redundant since it is called in do_cmake.sh and
there's no reason to do a modprobe of rbd.ko here either.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
@liewegas
Copy link
Member

@idryomov @dachary do you know why the rbd modprobe was added in the first place?

@badone
Copy link
Contributor Author

badone commented Sep 19, 2016

Looks like @dachary put it in the original run-make-check.sh (b9ddf97) and @dmick removed it from that file with "modprobe won't work on containers; not needed" (bf5ccce). Looks like run-cmake-check.sh was copied from run-make-check.sh somewhere in between. This also raises the question of whether we need both run-make-check.sh and run-cmake-check.sh? I suspect the answer is "no".

@ghost
Copy link

ghost commented Sep 19, 2016

I put it there because some tests run via make check relied on the rbd module being loaded. Since it does not seem to be the case anymore, I don't see why it should be kept around.

Reviewed-by: Loic Dachary <ldachary@redhat.com>

@idryomov
Copy link
Contributor

FWIW I don't recall any such tests, and we shouldn't be doing a manual modprobe anyway. LGTM.

@liewegas liewegas merged commit 2d97c24 into ceph:master Sep 20, 2016
@badone badone deleted the wip-rm-modprobe-run-cmake-check branch September 21, 2016 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants