[stgt] [PATCH] Make backends loadable modules

ronnie sahlberg ronniesahlberg at gmail.com
Wed Aug 28 06:59:03 CEST 2013


Ah, Thanks.

I'll do a new patch.

On Tue, Aug 27, 2013 at 3:56 PM, Andy Grover <agrover at redhat.com> wrote:
> On 08/20/2013 07:46 PM, Ronnie Sahlberg wrote:
>>
>> Tomo,
>>
>> Please find a second version of the patch to make the backing stores
>> into loadable modules so that distributors can ship core tgtd as one
>> package and individual backends as separate packages. This prevents
>> having just a single module for everyone which depends on and
>> requires a huge set of dependent packets.
>>
>> This is version 2 This version only changes bs.c into a shared
>> library that the backend modules can link with at runtimie instead of
>> as in the first patch changing all of tgtd into a shared library.
>>
>>
>> regards ronnie sahlberg
>
>
> Hi Ronnie,
>
> I think you may be able to avoid making bs.c into a shared library if you
> link tgtd with the -E linker option.
>
> I've attached a patch that Fedora tgt carried for a little while that
> modularized iser. I think my approach to iser modularization was bad and it
> got dropped, but you could loot it for some Makefile magic :)
>
> Regards -- Andy
--
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