[openstack-dev] [Cinder] LIO support in Cinder
Andy Grover
agrover at redhat.com
Wed Nov 28 17:57:27 UTC 2012
On 11/27/2012 08:38 AM, Christoph Hellwig wrote:
> On Tue, Nov 27, 2012 at 08:12:59AM -0800, Vishvananda Ishaya wrote:
>> for this. It seems like the fastest path to using LIO would be to simply
>> extend the tgt code to be able to use targetcli[1] in addition to tgtadmin
>> and ietadmin. That seems like literally a few days of work.
>>
>> Integrating targetd sounds more complicated and I think it would be better
>> done with its own driver. If you are managing volumes remotely I don't think you
>> are going to get much benefit out of sharing the existing target code.
>>
>> Would you consider a dual approach? A quick-and-dirty version using targetcli
>> to get lio support in, followed by a more general driver using targetd?
>
> I think the "simple" driver using targetcli would fit the current cinder
> model fairly well. It would essentially just plug another class into
> the abstraction between TgtAdm and IetAdm provided by
> get_target_admin().
>
> The way I understand targetd (and Andy may have to correct me) it
> actually managed the backend storage using e.g. LVM as well.
This is correct.
-- Andy
More information about the OpenStack-dev
mailing list