[stgt] [PATCH] Add support for modular backends

Andy Grover agrover at redhat.com
Fri Sep 20 09:24:41 CEST 2013


On 09/19/2013 05:20 PM, FUJITA Tomonori wrote:
> On Thu, 19 Sep 2013 17:20:18 -0700
> ronnie sahlberg <ronniesahlberg at gmail.com> wrote:
>
>> On Thu, Sep 19, 2013 at 4:28 PM, FUJITA Tomonori
>> <fujita.tomonori at lab.ntt.co.jp> wrote:
>>> On Thu, 19 Sep 2013 16:30:41 -0700
>>> Ronnie Sahlberg <ronniesahlberg at gmail.com> wrote:
>>>
>>>> Link tgtd with -E so all symbols are available for runtime linking
>>>> by dynamically loaded objects.
>>>> Build some modules, such as bs_{aio|ssc|rdwr|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.
>>>
>>> s/tgtd/tgt/ ?
>>
>> Sure. I will send a new patch.
>
> Thanks, please update the patch description too (bs_rdwr and bs_ssc
> are not now).
>
> Distribution people, any comments?
>

I think this will solve the problem nicely. Thanks for making this 
happen, Ronnie.

It all looks straightforward.. I'll probably do a test packaging early 
next week and beat on it a bit.

The only question I have isn't about the modularization, but about the 
fancy new backstore that prompted it, and how to support it. Not that I 
expect much work will be needed, but Dan, are you or some other Ceph dev 
around if an issue with bs_rbd comes up? :)

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