Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/class/fc/fc_udev_device/appid_store
0002 Date:           Aug 2021
0003 Contact:        Muneendra Kumar <muneendra.kumar@broadconm.com>
0004 Description:
0005                 This interface allows an admin to set an FC application
0006                 identifier in the blkcg associated with a cgroup id. The
0007                 identifier is typically a UUID that is associated with
0008                 an application or logical entity such as a virtual
0009                 machine or container group. The application or logical
0010                 entity utilizes a block device via the cgroup id.
0011                 FC adapter drivers may query the identifier and tag FC
0012                 traffic based on the identifier. FC host and FC fabric
0013                 entities can utilize the application id and FC traffic
0014                 tag to identify traffic sources.
0015 
0016                 The interface expects a string "<cgroupid>:<appid>" where:
0017                 <cgroupid> is inode of the cgroup in hexadecimal
0018                 <appid> is user provided string upto 128 characters
0019                 in length.
0020 
0021                 If an appid_store is done for a cgroup id that already
0022                 has an appid set, the new value will override the
0023                 previous value.
0024 
0025                 If an admin wants to remove an FC application identifier
0026                 from a cgroup, an appid_store should be done with the
0027                 following string: "<cgroupid>:"