]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/cli/osdmaptool: fix tests
authorSage Weil <sage@redhat.com>
Wed, 15 Mar 2017 22:23:08 +0000 (18:23 -0400)
committerSage Weil <sage@redhat.com>
Tue, 28 Mar 2017 14:12:09 +0000 (10:12 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/cli/osdmaptool/help.t
src/test/cli/osdmaptool/missing-argument.t

index aeebe1a6cdd06387d837b14a9959a5203ae81539..22945468df85688b4ac421cc243a39c974dca369 100644 (file)
      --test-random           do random placements
      --test-map-pg <pgid>    map a pgid to osds
      --test-map-object <objectname> [--pool <poolid>] map an object to osds
+     --remap-cleanup <file>  clean up pg_remap[_items] entries, writing
+                             commands to <file> [default: - for stdout]
+     --remap <file>          calculate pg remap entries to balance pg layout
+                             writing commands to <file> [default: - for stdout]
+     --remap-max <max-count> set max remap entries to calculate [default: 100]
+     --remap-deviation <max-deviation>
+                             max deviation from target [default: .01]
+     --remap-pool <poolname> restrict remap balancing to 1 or more pools
   [1]
index 7227071dac248af88378d324737de32cc6a565d7..5e59b67614f0f776c464368535d288632129213d 100644 (file)
      --test-random           do random placements
      --test-map-pg <pgid>    map a pgid to osds
      --test-map-object <objectname> [--pool <poolid>] map an object to osds
+     --remap-cleanup <file>  clean up pg_remap[_items] entries, writing
+                             commands to <file> [default: - for stdout]
+     --remap <file>          calculate pg remap entries to balance pg layout
+                             writing commands to <file> [default: - for stdout]
+     --remap-max <max-count> set max remap entries to calculate [default: 100]
+     --remap-deviation <max-deviation>
+                             max deviation from target [default: .01]
+     --remap-pool <poolname> restrict remap balancing to 1 or more pools
   [1]