]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd,mds: return error if injectargs fails 8840/head
authorKefu Chai <tchaikov@gmail.com>
Thu, 5 May 2016 05:49:43 +0000 (13:49 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 17 May 2016 05:41:50 +0000 (13:41 +0800)
commitb25ceb02b20798a16f2a67009ebc7cc95a36072e
tree170bc0100b7bfab90214c88436946493d190370d
parentb7babd6aa671d688eef0af61ca17fd11eec22773
osd,mds: return error if injectargs fails

* test_osd_bench: the injectargs call actually fails due to the spaces
  at the beginning. so remove the spaces in args before sending it to
  injectargs
* update/add some injectargs tests accordingly

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
qa/workunits/cephtool/test.sh
src/mds/MDSDaemon.cc
src/osd/OSD.cc