[PATCH 1/3] nvmet: delete controllers deletion upon subsystem release

Christoph Hellwig hch at lst.de
Tue Dec 6 00:28:08 PST 2016


On Mon, Dec 05, 2016 at 07:08:03PM +0200, Sagi Grimberg wrote:
>
>>> No reason for them to be kept around if we are
>>> deleting the subsystem, so instead of passively
>>> wait for the host to disconnect, actively delete
>>> the controllers.
>>
>> Looks fine, but I'd really love to see a testcase for this in some form..
>
> Should we revive the selftests branch?

As-is it's not very usable and would need some major rework.  At some
point Chaitanya mentioned he wanted to look into it, but I suspect
he is busy with other things at the moment.

Personally I think we should use nvme-cli and nvmetcli for our tests
instead of opencoding everything, and life would probably be easier
if we wrote it in a proper test framework similar to the nvme-cli
and nvmetcli tests.



More information about the Linux-nvme mailing list