Skip to content

Commit

Permalink
Merge pull request ceph#48437 from rosinL/fix-vstart
Browse files Browse the repository at this point in the history
src/vstart.sh: correct top_cpu's value

Reviewed-by: Kefu Chai <[email protected]>
  • Loading branch information
athanatos authored Oct 12, 2022
2 parents 803574f + 0adc332 commit 5570c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ start_osd() {
local extra_seastar_args
if [ "$ceph_osd" == "crimson-osd" ]; then
bottom_cpu=$(( osd * crimson_smp ))
top_cpu=$(( bottom_cpu + crimson_smp ))
top_cpu=$(( bottom_cpu + crimson_smp - 1 ))
# set a single CPU nodes for each osd
extra_seastar_args="--smp $crimson_smp --cpuset $bottom_cpu-$top_cpu"
if [ "$debug" -ne 0 ]; then
Expand Down

0 comments on commit 5570c8c

Please sign in to comment.