Skip to content

Commit

Permalink
Merge pull request #1 from zioproto/master
Browse files Browse the repository at this point in the history
Create directory as needed
  • Loading branch information
blufor committed Jul 31, 2015
2 parents 0c9d1c1 + 1ac333c commit eccfe15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pincpus
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cgroup_id=0;
while [ $cgroup_id -lt $cgroup_osd_count ]; do

echo "- creating or updating cgroup #$cgroup_id";
mkdir /cgroup/cpuset/osd-group-$cgroup_id 2>/dev/null
mkdir -p /cgroup/cpuset/osd-group-$cgroup_id 2>/dev/null
cd /cgroup/cpuset/osd-group-$cgroup_id
echo ${cgroup_osd_cpu[$cgroup_id]} > cpuset.cpus
echo ${cgroup_osd_numanode[$cgroup_id]} > cpuset.mems
Expand Down

0 comments on commit eccfe15

Please sign in to comment.