요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Created VDUSE device directory
sysfs-class-vduse:18-25Control device를 통해 VDUSE device를 만들면 device-name directory가 생성됩니다.
Userspace response timeout
sysfs-class-vduse:26-33msg_timeout은 userspace control-message response를 기다리는 초 단위 RW timeout이며 기본값은 30초, 0은 timeout 비활성화입니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/vduse/
2
Date: Oct 2021
3
KernelVersion: 5.15
4
Contact: Yongji Xie <xieyongji@bytedance.com>
5
Description:
6
The vduse/ class sub-directory belongs to the VDUSE
7
framework and provides a sysfs interface for configuring
8
VDUSE devices.
10
What: /sys/class/vduse/control/
11
Date: Oct 2021
12
KernelVersion: 5.15
13
Contact: Yongji Xie <xieyongji@bytedance.com>
14
Description:
15
This directory entry is created for the control device
16
of VDUSE framework.
18
What: /sys/class/vduse/<device-name>/
19
Date: Oct 2021
20
KernelVersion: 5.15
21
Contact: Yongji Xie <xieyongji@bytedance.com>
22
Description:
23
This directory entry is created when a VDUSE device is
24
created via the control device.
26
What: /sys/class/vduse/<device-name>/msg_timeout
27
Date: Oct 2021
28
KernelVersion: 5.15
29
Contact: Yongji Xie <xieyongji@bytedance.com>
30
Description:
31
(RW) The timeout (in seconds) for waiting for the control
32
message's response from userspace. Default value is 30s.
33
Writing a '0' to the file means to disable the timeout.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
VDUSE framework class
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/vduse/ |
| Date | 2021년 10월 |
| KernelVersion | 5.15 |
| Contact | Yongji Xie <xieyongji@bytedance.com> |
| Description | vduse/ class subdirectory는 VDUSE framework에 속하며 VDUSE device를 configure하기 위한 sysfs interface를 제공합니다. |
VDUSE control device directory
10-17| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/vduse/control/ |
| Date | 2021년 10월 |
| KernelVersion | 5.15 |
| Contact | Yongji Xie <xieyongji@bytedance.com> |
| Description | VDUSE framework의 control device를 위해 생성되는 directory entry입니다. |
Created VDUSE device directory
18-25| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/vduse/<device-name>/ |
| Date | 2021년 10월 |
| KernelVersion | 5.15 |
| Contact | Yongji Xie <xieyongji@bytedance.com> |
| Description | Control device를 통해 VDUSE device를 생성하면 만들어지는 directory entry입니다. |
Control-message response timeout
26-33| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/vduse/<device-name>/msg_timeout |
| Date | 2021년 10월 |
| KernelVersion | 5.15 |
| Contact | Yongji Xie <xieyongji@bytedance.com> |
| Description | (RW) Userspace에서 control message response가 오기를 기다리는 timeout이며 단위는 seconds입니다. 기본값은 30초입니다. File에 '0'을 쓰면 timeout을 disable합니다. |
/sys/class/vduse/control/ 사용→VDUSE device 생성→<device-name>/ directory 생성→Control message를 userspace로 전달→msg_timeout seconds 동안 response 대기
Control device가 instance directory를 만들고 msg_timeout이 userspace response wait를 제한합니다.
VDUSE class and control device
sysfs-class-vduse:1-17vduse class는 VDUSE device configuration interface를 제공하고 control directory는 framework control device를 나타냅니다.