Skip to contentSkip to conversation

Gerrit option - build only one backend

lustre-devel Anna Fuchs 2 participants 5 messages Jan 28, 2020 – Jan 31, 2020

lore
Share & tools
lore

Anna Fuchs

author
#0 lore raw

Dear all,

I am wondering why the Gerrit option "fstype=zfs" in my commit does not influence the build process - both targets, ldiskfs and zfs are built:

checking whether to build ldiskfs... yes
checking whether to enable zfs... yes

The option seems to affect only the following tests. Is this behavior intended?
Is there any option to build and test only one backend?

Regards
Anna

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20200128/973697a0/attachment.html>

#1 lore raw

The fstype option affects the testing, because this is "Test-Parameters:", not "Build-Parameters:". :-)

The zfs vs. ldiskfs option mostly only affects the osd-ldiskfs and oss-zfs, and the matching mount.lustre helpers. All of the rest of the code should be independent of the backing filesystem.

Cheers, Andreas

Quoted 19 lines · Anna Fuchs

?
Dear all,

I am wondering why the Gerrit option "fstype=zfs" in my commit does not influence the build process - both targets, ldiskfs and zfs are built:

checking whether to build ldiskfs... yes
checking whether to enable zfs... yes

The option seems to affect only the following tests. Is this behavior intended? Is there any option to build and test only one backend?

Regards
Anna
_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

author
#2 lore raw

I see, but are there any "build-parameters" I can set? I haven't seen anything like that in another commits.

I want to prevent the osd-ldiskfs to be built since my stuff involves experimental interface changes for the backend and this build will fail at the moment.

None of the tests will run if any build fails, am I right? I wanted to have first some reviews before I change everything.

So either I (currently unnecessarily) adjust the ldiskfs path just for the build to pass or.. is there any or?

Thanks,

Anna

Am 28.01.2020 um 21:36 schrieb Andreas Dilger:

Quoted 25 lines

The fstype option affects the testing, because this is "Test-Parameters:", not "Build-Parameters:". :-)

The zfs vs. ldiskfs option mostly only affects the osd-ldiskfs and oss-zfs, and the matching mount.lustre helpers. All of the rest of the code should be independent of the backing filesystem.

Cheers, Andreas

Quoted 19 lines · Anna Fuchs

?
Dear all,

I am wondering why the Gerrit option "fstype=zfs" in my commit does not influence the build process - both targets, ldiskfs and zfs are built:

checking whether to build ldiskfs... yes
checking whether to enable zfs... yes

The option seems to affect only the following tests. Is this behavior intended? Is there any option to build and test only one backend?

Regards
Anna
_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

Signature · 6 lines
Anna Fuchs
Universit?t Hamburg
https://wr.informatik.uni-hamburg.de

anna.fuchs at informatik.uni-hamburg.de
https://wr.informatik.uni-hamburg.de/people/anna_fuchs
#3 lore raw

You could potentially include a change in your patch series to always disable ldiskfs building, probably in config/lustre-build-ldiskfs.m4.

It would be best if that was a separate patch with a description like "osd-ldiskfs: permanently disable building" and tagged "forbuildonly" so that it cannot be landed.

Cheers, Andreas

Quoted 49 lines · Anna Fuchs

?I see, but are there any "build-parameters" I can set? I haven't seen anything like that in another commits.

I want to prevent the osd-ldiskfs to be built since my stuff involves experimental interface changes for the backend and this build will fail at the moment.

None of the tests will run if any build fails, am I right? I wanted to have first some reviews before I change everything.

So either I (currently unnecessarily) adjust the ldiskfs path just for the build to pass or.. is there any or?

Thanks,

Anna

Quoted 26 lines

Am 28.01.2020 um 21:36 schrieb Andreas Dilger:
The fstype option affects the testing, because this is "Test-Parameters:", not "Build-Parameters:". :-)

The zfs vs. ldiskfs option mostly only affects the osd-ldiskfs and oss-zfs, and the matching mount.lustre helpers. All of the rest of the code should be independent of the backing filesystem.

Cheers, Andreas

Quoted 19 lines
Quoted 1 line · Anna Fuchs

?
Dear all,

I am wondering why the Gerrit option "fstype=zfs" in my commit does not influence the build process - both targets, ldiskfs and zfs are built:

checking whether to build ldiskfs... yes
checking whether to enable zfs... yes

The option seems to affect only the following tests. Is this behavior intended? Is there any option to build and test only one backend?

Regards
Anna
_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org

Signature · 6 lines
Anna Fuchs
Universit?t Hamburg
https://wr.informatik.uni-hamburg.de

anna.fuchs at informatik.uni-hamburg.de
https://wr.informatik.uni-hamburg.de/people/anna_fuchs
author
#4 lore raw

Ok, I will see which way is better, thanks a lot.

Regards Anna

Quoted 76 lines · Andreas Dilger

You could potentially include a change in your patch series to always disable ldiskfs building, probably in config/lustre-build-ldiskfs.m4.

It would be best if that was a separate patch with a description like "osd-ldiskfs: permanently disable building" and tagged "forbuildonly" so that it cannot be landed.

Cheers, Andreas

Quoted 67 lines

On Jan 29, 2020, at 07:18, Anna Fuchs
<[email protected] <mailto:[email protected]>> wrote:

?I see, but are there any "build-parameters" I can set? I haven't
seen anything like that in another commits.

I want to prevent the osd-ldiskfs to be built since my stuff
involves experimental interface changes for the backend and this build will fail at the moment.

None of the tests will run if any build fails, am I right? I wanted
to have first some reviews before I change everything.

So either I (currently unnecessarily) adjust the ldiskfs path just
for the build to pass or.. is there any or?

Thanks,

Anna

Quoted 4 lines

Am 28.01.2020 um 21:36 schrieb Andreas Dilger:
The fstype option affects the testing, because this is
"Test-Parameters:", not "Build-Parameters:". :-)

Quoted 31 lines

The zfs vs. ldiskfs option mostly only affects the osd-ldiskfs and
oss-zfs, and the matching mount.lustre helpers. All of the rest of the code should be independent of the backing filesystem.

Cheers, Andreas

Quoted 25 lines
Quoted 3 lines

On Jan 28, 2020, at 12:37, Anna Fuchs
<[email protected] <mailto:[email protected]>> wrote:

?
Dear all,

I am wondering why the Gerrit option "fstype=zfs" in my commit
does not influence the build process - both targets, ldiskfs and zfs are built:

checking whether to build ldiskfs... yes
checking whether to enable zfs... yes

The option seems to affect only the following tests. Is this
behavior intended?
Is there any option to build and test only one backend?

Regards
Anna
_______________________________________________
lustre-devel mailing list
lustre-devel at lists.lustre.org
<mailto:[email protected]>
<http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org>

--
Anna Fuchs
Universit?t Hamburg
https://wr.informatik.uni-hamburg.de
<https://wr.informatik.uni-hamburg.de/>

anna.fuchs at informatik.uni-hamburg.de
<mailto:[email protected]>
<https://wr.informatik.uni-hamburg.de/people/anna_fuchs>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20200131/8d161dab/attachment.html>