mirror of
https://github.com/ceph/ceph
synced 2025-03-30 07:19:14 +00:00
crush: grammer: allow '.' in name token
These are now in the generated crush maps, so it seems appropriate to recompile them :). Reported-by: Martin Mailand <martin@tuxadero.com> Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
b600ec2ac7
commit
07950bb8f0
@ -87,7 +87,7 @@ struct crush_grammar : public grammar<crush_grammar>
|
||||
] ];
|
||||
posint = leaf_node_d[ lexeme_d[ +digit_p ] ];
|
||||
negint = leaf_node_d[ lexeme_d[ ch_p('-') >> +digit_p ] ];
|
||||
name = leaf_node_d[ lexeme_d[ +( alnum_p || ch_p('-') || ch_p('_')) ] ];
|
||||
name = leaf_node_d[ lexeme_d[ +( alnum_p || ch_p('-') || ch_p('_') || ch_p('.')) ] ];
|
||||
|
||||
// devices
|
||||
device = str_p("device") >> posint >> name;
|
||||
|
Loading…
Reference in New Issue
Block a user