On Thu, 19 Sep 2013 17:26:02 -0700 Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx> wrote: > Link tgtd with -E so all symbols are available for runtime linking > by dynamically loaded objects. > Build some modules, such as bs_{aio|rbd} as shared objects and > install them under /usr/lib/tgtd/backing-store > Add support so that when tgtd is started and initializes the backends > it will traverse /usr/lib/tgtd/backing-store and dynamically load > all object files. > > This allows to build and distribute backends as separate packages than tgtd. > TGTD can be shipped with only base dependencies and basic backend support > and then those backends that include extra dependencies can be shipped > and installed separately. > > Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx> > --- > usr/Makefile | 35 ++++++++++++++++++++++++----------- > usr/bs.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > usr/bs_aio.c | 2 +- > usr/bs_rbd.c | 2 +- > 4 files changed, 78 insertions(+), 13 deletions(-) Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html