All of lore.kernel.org
 help / color / mirror / Atom feed
* PGBackend: Multiple PG implementations.
@ 2013-10-18 23:05 Lluís Pàmies i Juárez
  2013-10-18 23:16 ` Loic Dachary
  0 siblings, 1 reply; 2+ messages in thread
From: Lluís Pàmies i Juárez @ 2013-10-18 23:05 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hello,

I was looking at the work done to re-architecture the OSD backend.
Since it seems that it allows now to have more than one PG
implementation I decided to subclass PG and PGBackend to create an
alternative implementation to ReplicatedPG and ReplicatedBackend.
However, I noticed a couple of problems:

* All methods in watch.h and watch.cc expect ReplicatedPG objects
instead of generic PG objects.
* New pools created in the OSDMonitor are created as replicated pools
(g_pool_t::TYPE_REP). This is a hardcoded value.

I made a few changes to solve these two issues that allowed me to have
more than one PG implementation running without problems. You can find
the changes here:

https://github.com/ceph/ceph/pull/744

Are these changes useful for the re-architecture of the OSD ?

PS: Implementing and running an alternative PG requires other changes
in the CrushCompiler and other header files.

Best,
Lluis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-18 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18 23:05 PGBackend: Multiple PG implementations Lluís Pàmies i Juárez
2013-10-18 23:16 ` Loic Dachary

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.