Missing Option to give amount of PGs on pool creation with librados
Hi there
The way I see it, there is no option to give the amount of PGs when creating a new pool using librados [1]. Thus any pool created using librados has 8 PGs (default). I don't see a reason for this behaviour. Is there any?
Otherwise I'll post a feature request for an option to give the amount of PGs.
Niklas
Quoted 7 lines · Niklas Goerke
Hi there
The way I see it, there is no option to give the amount of PGs when creating a new pool using librados [1]. Thus any pool created using librados has 8 PGs (default). I don't see a reason for this behaviour. Is there any?
Otherwise I'll post a feature request for an option to give the amount of PGs.
You can also use the new mon_command call to feed a create command in json, which does let you specify the pg count (this is exactly what the CLI does now). Starting with 0.66, at least!
sage
Quoted 10 lines
Niklas
[1] http://ceph.com/docs/next/rados/api/librados/
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html