Re: OSDMonitor: don't allow creation of pools with 65535 pgs

2012-12-17 Thread Joao Eduardo Luis
On 12/14/2012 03:41 PM, Jim Schutt wrote: Hi, I'm looking at commit e3ed28eb2 in the next branch, and I have a question. Shouldn't the limit be pg_num 65536, because PGs are numbered 0 thru pg_num-1? If not, what am I missing? FWIW, up through yesterday I've been using the next branch and

OSDMonitor: don't allow creation of pools with 65535 pgs

2012-12-14 Thread Jim Schutt
Hi, I'm looking at commit e3ed28eb2 in the next branch, and I have a question. Shouldn't the limit be pg_num 65536, because PGs are numbered 0 thru pg_num-1? If not, what am I missing? FWIW, up through yesterday I've been using the next branch and this: ceph osd pool set data pg_num 65536

Re: OSDMonitor: don't allow creation of pools with 65535 pgs

2012-12-14 Thread Joao Eduardo Luis
On 12/14/2012 03:41 PM, Jim Schutt wrote: Hi, I'm looking at commit e3ed28eb2 in the next branch, and I have a question. Shouldn't the limit be pg_num 65536, because PGs are numbered 0 thru pg_num-1? If not, what am I missing? FWIW, up through yesterday I've been using the next branch and

Re: [EXTERNAL] Re: OSDMonitor: don't allow creation of pools with 65535 pgs

2012-12-14 Thread Jim Schutt
On 12/14/2012 09:59 AM, Joao Eduardo Luis wrote: On 12/14/2012 03:41 PM, Jim Schutt wrote: Hi, I'm looking at commit e3ed28eb2 in the next branch, and I have a question. Shouldn't the limit be pg_num 65536, because PGs are numbered 0 thru pg_num-1? If not, what am I missing? FWIW, up