CEPH filesystem development
 help / color / mirror / Atom feed
* subdir-objects
@ 2013-08-21 19:45 Roald van Loon
  2013-08-21 20:01 ` subdir-objects Noah Watkins
  0 siblings, 1 reply; 19+ messages in thread
From: Roald van Loon @ 2013-08-21 19:45 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hi Ceph devs,

I'm working on doing some structuring/designing plugins for RGW. In a
recent discussion with Yehuda, I'm looking into how we can statically
link 'plugins' into the RGW core (so, not really plugins, but more of
a code separation).

However, the ceph automake structure doesn't use AM's subdir-objects
settings, which is causing me headaches. The reason: two 'plugins'
might share similar filenames in different subdirectories;

./src/rgw/plugins/example/plugin.cc
./src/rgw/plugins/hello_world/plugin.cc

Both of which, of course, gets compiled into radosgw-plugin.o because
of the absence of the subdir-objects setting. I can not circumvent
this by making it a library, because partially linking prevents me
from auto-registering the plugins in the RGW core. The only fix for
this is making the RGW core aware of the subdirs/plugins, but I think
that's nasty design. I'd like to have it in my make conf.

So, the question is; is there a reason why we don't use subdir objects?

Roald

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

end of thread, other threads:[~2013-09-09 11:47 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21 19:45 subdir-objects Roald van Loon
2013-08-21 20:01 ` subdir-objects Noah Watkins
2013-08-21 20:13   ` subdir-objects Roald van Loon
2013-08-21 20:41   ` subdir-objects Sage Weil
2013-08-21 21:01     ` subdir-objects Roald van Loon
2013-09-06 17:27       ` subdir-objects Noah Watkins
2013-09-07  8:52         ` subdir-objects Roald van Loon
2013-09-07 17:38           ` subdir-objects Noah Watkins
2013-09-07 17:47             ` subdir-objects Noah Watkins
2013-09-07 20:11               ` subdir-objects Roald van Loon
2013-09-07 20:39                 ` subdir-objects Sage Weil
2013-09-09 11:47                   ` subdir-objects Roald van Loon
2013-09-07 21:03                 ` subdir-objects Noah Watkins
2013-09-07 23:01                   ` subdir-objects Roald van Loon
2013-09-08 23:16                     ` subdir-objects Sage Weil
2013-09-09  5:37                       ` subdir-objects Roald van Loon
2013-09-08 23:27                     ` subdir-objects Milosz Tanski
2013-09-09  5:41                       ` subdir-objects Roald van Loon
2013-09-08  0:36                   ` subdir-objects Matt W. Benjamin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox