← Documents Documentation/ABI/testing/sysfs-class-fc GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Fibre Channel application identifier sysfs ABI

Cgroup별 blkcg에 FC application identifier를 설정·교체·제거하고 adapter가 traffic source를 tag하는 방식을 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-class-fc
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Application identifier storage

sysfs-class-fc:1-27

Hexadecimal cgroup inode와 최대 128자 appid를 연결해 VM·container 같은 logical entity의 FC traffic source를 식별합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/class/fc/fc_udev_device/appid_store
2 Date: Aug 2021
3 Contact: Muneendra Kumar <[email protected]>
4 Description:
5 This interface allows an admin to set an FC application
6 identifier in the blkcg associated with a cgroup id. The
7 identifier is typically a UUID that is associated with
8 an application or logical entity such as a virtual
9 machine or container group. The application or logical
10 entity utilizes a block device via the cgroup id.
11 FC adapter drivers may query the identifier and tag FC
12 traffic based on the identifier. FC host and FC fabric
13 entities can utilize the application id and FC traffic
14 tag to identify traffic sources.
15
16 The interface expects a string "<cgroupid>:<appid>" where:
17 <cgroupid> is inode of the cgroup in hexadecimal
18 <appid> is user provided string upto 128 characters
19 in length.
20
21 If an appid_store is done for a cgroup id that already
22 has an appid set, the new value will override the
23 previous value.
24
25 If an admin wants to remove an FC application identifier
26 from a cgroup, an appid_store should be done with the
27 following string: "<cgroupid>:"
28

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Cgroup별 FC application identifier

1-27
항목한국어 전문 번역
What/sys/class/fc/fc_udev_device/appid_store
Date2021년 8월
ContactMuneendra Kumar <[email protected]>
Description관리자가 cgroup id와 연결된 blkcg에 FC application identifier를 설정할 수 있게 합니다. Identifier는 일반적으로 application 또는 virtual machine·container group 같은 logical entity와 연결된 UUID입니다. Application 또는 logical entity는 cgroup id를 통해 block device를 사용합니다. FC adapter driver는 identifier를 조회하고 이에 따라 FC traffic에 tag를 붙일 수 있습니다. FC host와 FC fabric entity는 application id와 FC traffic tag를 사용해 traffic source를 식별할 수 있습니다. Interface는 "<cgroupid>:<appid>" 문자열을 받습니다. <cgroupid>는 hexadecimal로 나타낸 cgroup inode이고, <appid>는 사용자가 제공하는 최대 128자 문자열입니다. 이미 appid가 설정된 cgroup id에 appid_store를 수행하면 새 값이 이전 값을 덮어씁니다. Cgroup에서 FC application identifier를 제거하려면 "<cgroupid>:" 문자열로 appid_store를 수행합니다.
<cgroupid>:<appid>
<cgroupid>:
appid_store 입력 구성
요소형식의미
cgroupidHexadecimalCgroup inode
appid최대 128자사용자가 제공하는 application identifier
제거<cgroupid>:해당 cgroup의 FC application identifier 제거

설정 문자열의 두 field와 identifier 제거 형식을 정리합니다.