Re: [PATCH] Add support for modular backends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/19/2013 05:20 PM, FUJITA Tomonori wrote:
On Thu, 19 Sep 2013 17:20:18 -0700
ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:

On Thu, Sep 19, 2013 at 4:28 PM, FUJITA Tomonori
<fujita.tomonori@xxxxxxxxxxxxx> wrote:
On Thu, 19 Sep 2013 16:30:41 -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|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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux