On Tue, 9 Mar 2010, Christian Brunner wrote:
> On Mon, Mar 08, 2010 at 10:18:11PM +0000, Sage Weil wrote:
> > Is there any particular reason to restrict the 'device name' to 12 chars?
> 
> On the ceph blog I have read that the name of an object is a fixed-size
> 20 byte identifier. That's why I've chosen to use a base64 encoded sequence
> number. This sequence number requires 8 bytes to store, so there are 12 bytes
> left for the 'device name'. If this is no longer a restriction, using longer 
> names (with a hex encoding of the sequence number) would make sense.

Oh, yeah, that restriction was removed a while ago now.  The object name 
is now an arbitrary string, so you can use whatever is most 
convenient.

Let us know how it goes!
sage

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to