1

Initial commit

This commit is contained in:
eleksir
2018-09-23 14:24:20 +03:00
commit d6e2f9f211
9 changed files with 470 additions and 0 deletions

15
prio-client.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
OSD="$1"
if [ "$OSD" = "" ]; then
echo "OSD ID is not set"
exit 0
fi
echo "==> $OSD"
ceph tell osd.$OSD injectargs '--osd_recovery_op_priority 1'
ceph tell osd.$OSD injectargs '--osd_recovery_threads 6'
ceph tell osd.$OSD injectargs '--osd_recovery_max_active 1'
ceph tell osd.$OSD injectargs '--osd_max_backfills 1'