mirror of
https://github.com/ceph/ceph
synced 2025-01-06 03:01:24 +00:00
fca5ef8aba
This improves the broken parameter parsing discussed in #36327 Test expression for the parsing function: PARAMS="options='lock_on_read,queue_depth=1024',id=archiv,keyring=/etc/ceph/ceph.client.archiv.keyring" echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<" PARAMS="id=archiv,keyring=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024'" echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<" PARAMS="" echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<" PARAMS=",keyring=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024',id=archiv," echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<" PARAMS="'keyring'=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024',id=archiv," echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<" PARAMS="--keyring=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024',id=archiv, # a comment" echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<" Fixes: https://tracker.ceph.com/issues/36327 Signed-off-by: Marc Schoechlin <ms@256bit.org]> |
||
---|---|---|
.. | ||
_ext | ||
_static/js | ||
_templates | ||
_themes/ceph | ||
api | ||
ceph-volume | ||
cephfs | ||
changelog | ||
dev | ||
images | ||
install | ||
man | ||
mgr | ||
mon | ||
rados | ||
radosgw | ||
rbd | ||
releases | ||
scripts | ||
start | ||
.gitignore | ||
architecture.rst | ||
CMakeLists.txt | ||
conf.py | ||
favicon.ico | ||
glossary.rst | ||
governance.rst | ||
index.rst | ||
logo.png | ||
man_index.rst | ||
README.md |