Re: [RFC 01/16] blkcg:Introduce blkio.app_identifier knob to blkio controller

Paolo Bonzini
2020-08-06T17:09:01Z

On 06/08/20 04:22, Ming Lei wrote:
>> Could you please let me know is there any another way where we can get the
>> VM UUID info with the help of blkcg.
> As Tejun suggested, the mapping between bio->bi_blkg->blkcg and the
> unique ID could be built in usage scope, such as fabric
> infrastructure, something like
> xarray/hash may help to do that without much difficulty.

So do you suggest adding one (or actually many) driver-specific files in
/sys/bus/pci/drivers/lpfc or something like that? That seems very much
inferior to just sticking it into blkcg. Even though this is only
implemented by lpfc, other FC drivers will follow suit.

Paolo