Re: Disabling CRUSH for erasure code and doing custom placement

2014-07-18 Thread Kaifeng Yao
I was thinking about 'PG preferred' to allow binding a PG's placement to arbitrary OSDs. My angle is to make the PG more evenly distributed across OSDs, thus to potentially save ~20% cost. I am searching the 'pg preferred' implementation in CEPH to get more context. For the PG - OSD distribution

[PATCH master] rbd.cc: add --force option at 'rbd import'

2014-07-18 Thread Dimitris Bliablias
Extend the rbd utility with a new option named '--force'. This option will be used by the 'rbd import' command to allow overwriting an existing rbd image, something which is currently forbidden. If the image has snapshots, the command returns an error and nothing is imported. The force option will

Re: Disabling CRUSH for erasure code and doing custom placement

2014-07-18 Thread Gregory Farnum
On Fri, Jul 18, 2014 at 2:12 AM, Kaifeng Yao kaif...@yahoo-inc.com wrote: I was thinking about 'PG preferred' to allow binding a PG's placement to arbitrary OSDs. My angle is to make the PG more evenly distributed across OSDs, thus to potentially save ~20% cost. I am searching the 'pg

Re: [RFC][PATCH] osd: Add local_connection to fast_dispatch in func _send_boot.

2014-07-18 Thread Gregory Farnum
Hrm, I'd really like to see the startup sequence. I see the crash occurring, but I don't understand how it's happening — we test this pretty extensively so there must be something about your testing configuration that is different than ours. Can you provide that part of the log, and maybe a little