Repository navigation
cmake: FreeBSD specific excludes in CMakeLists.txt part 2 - #10973
Conversation
There was a problem hiding this comment.
@wjwithagen could you please note why this is not secret.c is not buildable in FreeBSD? for example, keyutils is not available in FreeBSD?
and why krbd is not applicable to FreeBSD?
There was a problem hiding this comment.
i guess maybe we can check for KEYUTILS_FOUND instead?
bfefa00 to
6eb9f7b
Compare
|
@tchaikov |
6eb9f7b to
20e08ba
Compare
|
@tchaikov |
8e81c1c to
4cc1fe2
Compare
There was a problem hiding this comment.
could you squash this commit into 05d72fb45eb8ebf9c5932dab88fa0815b49c4e2f ?
- FreeBSD does not have keyutils or any kernel type security store So using secret.c is not really relevant here - Have common/secret.c depend on KEYUTILS_FOUND - This also excludes building mount.cephfs, Next to the fact that this is 100% linux bases mount stuff - krbd is the Linux kernel version for RBD based disks, but again completely Linux based and porting to FreeBSD, if any, has to follow a different route Signed-off-by: Willem Jan Withagen <[email protected]>
- honor the WITH_RBD and WITH_LIBCEPHFS flags Signed-off-by: Willem Jan Withagen <[email protected]>
- Honor WITH_LIBCEPHFS Signed-off-by: Willem Jan Withagen <[email protected]>
- Honor WITH_AIO tests that depend on bluestore parts Signed-off-by: Willem Jan Withagen <[email protected]>
4cc1fe2 to
2e9809a
Compare
|
pushed to gb as wip-10973. once gb are happy, it's good to merge. |
|
@tchaikov |
|
jenkins, retest this please |
- to avoid the scrub wave when the osd_scrub_max_interval reaches in a
high-load OSD, the scrub time is randomized.
- extract scrub_load_below_threshold() out of scrub_should_schedule()
- schedule an automatic scrub job at a time which is uniformly distributed
over [now+osd_scrub_min_interval,
now+osd_scrub_min_interval*(1+osd_scrub_time_limit]. before
this change this sort of scrubs will be performed once the hard interval
is end or system load is below the threshold, but with this change, the
jobs will be performed as long as the load is low or the interval of
the scheduled scrubs is longer than conf.osd_scrub_max_interval. all
automatic jobs should be performed in the configured time period, otherwise
they are postponed.
- the requested scrub job will be scheduled right away, before this change
it is queued with the timestamp of `now` and postponed after
osd_scrub_min_interval.
Fixes: ceph#10973
Signed-off-by: Kefu Chai <[email protected]>
(cherry picked from commit 5e44040)
Conflicts:
src/osd/OSD.cc
s/osd_scrub_interval_limit/osd_scrub_interval_randomize_ratio/ Fixes: ceph#10973 Signed-off-by: Kefu Chai <[email protected]>
Changes to the CMakeLists.txt files specific for FreeBSD building.
These are the items that can not (yet) be build on FreeBSD
Excluding build target based on