[stgt] [PATCH] Modular backends version 3

Ronnie Sahlberg ronniesahlberg at gmail.com
Sun Aug 25 21:12:55 CEST 2013

List, Tomo

Please review and/or apply.

This is the third version of adding support for modular backing stores.

By default TGTD will continue to build as a monolithic binary, like it has
always done.
The patch moves some code from other parts of TGTD into bs.c to make the
modular build possible but apart from moving codend adding a bs_ prefix
it should not change anything for the default build.

IF TGTD is build with modular support :
then bs.c will be built into a shared library for support functions and
the initialization code is changed to automatically try to scan for and load
all backing store modules installed.
Additionally bs_aio|null|rbd|rdwr|ssc are built as separate shared modules
that can be distributed separately from the rest of TGTD.

With this patch TGTD will continue to build as a single monolithic binary as
always but for users that want to have modular backends the changes allow them
to build a modular version.

ronnie sahlberg

To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the stgt mailing list