]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: = is not a delimiter in --crush-location 1030/head
authorLoic Dachary <loic@dachary.org>
Wed, 1 Jan 2014 13:57:52 +0000 (14:57 +0100)
committerLoic Dachary <loic@dachary.org>
Wed, 1 Jan 2014 14:32:35 +0000 (15:32 +0100)
commit2b848a91d9e56fd6aa08e6ba0a99a0c366f6f5bb
tree2fbae17f15fb32c548fea6598dd964cdc1a0a77c
parentfe3fd5fb4aa6327256dfaf731914dc4f79b0d44e
osdc: = is not a delimiter in --crush-location

When parsing the crush location

     --crush-location 'root=default host=hostA'

it must create the vector

     [ 'root=default', 'host=hostA' ]

but the default list of separators of get_str_vec includes = which will
create

     [ 'root', 'default', 'host', 'hostA' ]

instead. Set the list of delimiters to exclude = instead.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/osdc/Objecter.cc