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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 this:

   ceph osd pool set data pg_num 65536 --allow-experimental-feature
   ceph osd pool set metadata pg_num 65536 --allow-experimental-feature
   ceph osd pool set data pgp_num 65536 --allow-experimental-feature
   ceph osd pool set metadata pgp_num 65536 --allow-experimental-feature

using cephfs clients, and have seen no trouble with
misdirected ops, etc.

-- Jim


Jim,

A new patch went into next that increases the default maximum pg_num to 65536, and also adds an option ('mon max pool pg num') that will allow this value to be adjusted.


  -Joao
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux