Skip to content

Commit

Permalink
Create directory as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
zioproto committed Jul 27, 2015
1 parent 0c9d1c1 commit 1ac333c
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 1ac333c

Please sign in to comment.