Re: [RFC 16/16] lpfc: vmid: Introducing vmid in io path.

Tejun Heo
2020-08-06T17:27:44Z

Hello,

On Thu, Aug 06, 2020 at 06:04:36PM +0530, Muneendra Kumar M wrote:
> 1) blkcg will have a new field to store driver specific information as
> "blkio_cg_ priv_data"(in the current patch it is app_identifier) as Tejun
> said he doesn’t mind cgroup data structs carrying extra bits for stuff.

I'd make it something more specific - lpfc_app_id or something along that
line.

> 2) scsi transport will provide a new interface(sysfs) as register_vm_fabric
> 3) As part of this interface user/deamon will provide the details of VM such
> as UUID,PID on VM creation to the transport .
> 4) With VM PID information we need to find the associated blkcg and needs to
> update the UUID info in blkio_cg_ priv_data.

You can pass in cgroup ID or open fd to uniquely identify a cgroup.

Thanks.

--
tejun