All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qa/workunits/erasure-code/bench.sh: Using correcting parameter name when call ceph_erasure_code_benchmark.
@ 2014-07-15  9:31 Ma, Jianpeng
  2014-07-15 20:03 ` Loic Dachary
  0 siblings, 1 reply; 2+ messages in thread
From: Ma, Jianpeng @ 2014-07-15  9:31 UTC (permalink / raw)
  To: loic@dachary.org; +Cc: ceph-devel@vger.kernel.org

In commit bcc74879a, loic modifed the parameter name. But he forgot to
modify the name in qa/workunits/erasure-code/bench.sh. Now modify and make
bench.sh work.

Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
---
 qa/workunits/erasure-code/bench.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/qa/workunits/erasure-code/bench.sh b/qa/workunits/erasure-code/bench.sh
index db7c490..483450b 100755
--- a/qa/workunits/erasure-code/bench.sh
+++ b/qa/workunits/erasure-code/bench.sh
@@ -50,9 +50,9 @@ function bench() {
         --iterations $iterations \
         --size $size \
         --erasures $erasures \
-        --parameter erasure-code-k=$k \
-        --parameter erasure-code-m=$m \
-        --parameter erasure-code-directory=$PLUGIN_DIRECTORY)
+        --parameter k=$k \
+        --parameter m=$m \
+        --parameter directory=$PLUGIN_DIRECTORY)
     result=$($command "$@")
     echo -e "$result\t$plugin\t$k\t$m\t$workload\t$iterations\t$size\t$erasures\t$command ""$@"
 }
--
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qa/workunits/erasure-code/bench.sh: Using correcting parameter name when call ceph_erasure_code_benchmark.
  2014-07-15  9:31 [PATCH] qa/workunits/erasure-code/bench.sh: Using correcting parameter name when call ceph_erasure_code_benchmark Ma, Jianpeng
@ 2014-07-15 20:03 ` Loic Dachary
  0 siblings, 0 replies; 2+ messages in thread
From: Loic Dachary @ 2014-07-15 20:03 UTC (permalink / raw)
  To: Ma, Jianpeng; +Cc: ceph-devel@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]

Hi,

This is part of a larger pull request ( https://github.com/ceph/ceph/pull/1875 ), specifically https://github.com/dachary/ceph/commit/64175d9d6e1c8f6cbdc5396e85ba8c94168afba8#diff-8a5d2cfe0db7cb75615a5f6b2245148bL53 . But it's worth applying as suggested until it gets merged, to avoid confusion.

Thanks !

Reviewed-by:

On 15/07/2014 12:31, Ma, Jianpeng wrote:
> In commit bcc74879a, loic modifed the parameter name. But he forgot to
> modify the name in qa/workunits/erasure-code/bench.sh. Now modify and make
> bench.sh work.
> 
> Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
> ---
>  qa/workunits/erasure-code/bench.sh | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/qa/workunits/erasure-code/bench.sh b/qa/workunits/erasure-code/bench.sh
> index db7c490..483450b 100755
> --- a/qa/workunits/erasure-code/bench.sh
> +++ b/qa/workunits/erasure-code/bench.sh
> @@ -50,9 +50,9 @@ function bench() {
>          --iterations $iterations \
>          --size $size \
>          --erasures $erasures \
> -        --parameter erasure-code-k=$k \
> -        --parameter erasure-code-m=$m \
> -        --parameter erasure-code-directory=$PLUGIN_DIRECTORY)
> +        --parameter k=$k \
> +        --parameter m=$m \
> +        --parameter directory=$PLUGIN_DIRECTORY)
>      result=$($command "$@")
>      echo -e "$result\t$plugin\t$k\t$m\t$workload\t$iterations\t$size\t$erasures\t$command ""$@"
>  }
> --
> 1.9.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-15 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-15  9:31 [PATCH] qa/workunits/erasure-code/bench.sh: Using correcting parameter name when call ceph_erasure_code_benchmark Ma, Jianpeng
2014-07-15 20:03 ` Loic Dachary

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.