162306a36Sopenharmony_ciWhat: /sys/class/fc/fc_udev_device/appid_store 262306a36Sopenharmony_ciDate: Aug 2021 362306a36Sopenharmony_ciContact: Muneendra Kumar <muneendra.kumar@broadconm.com> 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci This interface allows an admin to set an FC application 662306a36Sopenharmony_ci identifier in the blkcg associated with a cgroup id. The 762306a36Sopenharmony_ci identifier is typically a UUID that is associated with 862306a36Sopenharmony_ci an application or logical entity such as a virtual 962306a36Sopenharmony_ci machine or container group. The application or logical 1062306a36Sopenharmony_ci entity utilizes a block device via the cgroup id. 1162306a36Sopenharmony_ci FC adapter drivers may query the identifier and tag FC 1262306a36Sopenharmony_ci traffic based on the identifier. FC host and FC fabric 1362306a36Sopenharmony_ci entities can utilize the application id and FC traffic 1462306a36Sopenharmony_ci tag to identify traffic sources. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci The interface expects a string "<cgroupid>:<appid>" where: 1762306a36Sopenharmony_ci <cgroupid> is inode of the cgroup in hexadecimal 1862306a36Sopenharmony_ci <appid> is user provided string upto 128 characters 1962306a36Sopenharmony_ci in length. 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci If an appid_store is done for a cgroup id that already 2262306a36Sopenharmony_ci has an appid set, the new value will override the 2362306a36Sopenharmony_ci previous value. 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci If an admin wants to remove an FC application identifier 2662306a36Sopenharmony_ci from a cgroup, an appid_store should be done with the 2762306a36Sopenharmony_ci following string: "<cgroupid>:" 28