Hi all:
I don't understand why SnapMapper::get_prefix static_cast snap
to unsigned:
string SnapMapper::get_prefix(snapid_t snap)
{
char buf[100];
int len = snprintf(
buf, sizeof(buf),
"%.*X_", (int)(sizeof(snap)*2),
static_cast<unsigned>(snap));
return MAPPING_PREFIX + string(buf, len);
}
Will this limit snapshot count in pool to 2^32 -1 ?
Could anyone clarify ? Thanks
--
Ding Dinghua
--
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