요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
VBD mode와 통계
sysfs-bus-xen-backend:26-75Read-only/read-write mode와 flush, delayed, read, write request·sector counter를 제공합니다.
Backend state
sysfs-bus-xen-backend:77-84Unknown부터 Initialising, Connected, Closing, Reconfiguring까지 backend lifecycle state를 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/bus/xen-backend/devices/*/devtype
Date: Feb 2009
KernelVersion: 2.6.38
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
The type of the device. e.g., one of: 'vbd' (block),
'vif' (network), or 'vfb' (framebuffer).
What: /sys/bus/xen-backend/devices/*/nodename
Date: Feb 2009
KernelVersion: 2.6.38
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
XenStore node (under /local/domain/NNN/) for this
backend device.
What: /sys/bus/xen-backend/devices/vbd-*/physical_device
Date: April 2011
KernelVersion: 3.0
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
The major:minor number (in hexadecimal) of the
physical device providing the storage for this backend
block device.
What: /sys/bus/xen-backend/devices/vbd-*/mode
Date: April 2011
KernelVersion: 3.0
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
Whether the block device is read-only ('r') or
read-write ('w').
What: /sys/bus/xen-backend/devices/vbd-*/statistics/f_req
Date: April 2011
KernelVersion: 3.0
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
Number of flush requests from the frontend.
What: /sys/bus/xen-backend/devices/vbd-*/statistics/oo_req
Date: April 2011
KernelVersion: 3.0
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
Number of requests delayed because the backend was too
busy processing previous requests.
What: /sys/bus/xen-backend/devices/vbd-*/statistics/rd_req
Date: April 2011
KernelVersion: 3.0
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
Number of read requests from the frontend.
What: /sys/bus/xen-backend/devices/vbd-*/statistics/rd_sect
Date: April 2011
KernelVersion: 3.0
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
Number of sectors read by the frontend.
What: /sys/bus/xen-backend/devices/vbd-*/statistics/wr_req
Date: April 2011
KernelVersion: 3.0
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
Number of write requests from the frontend.
What: /sys/bus/xen-backend/devices/vbd-*/statistics/wr_sect
Date: April 2011
KernelVersion: 3.0
Contact: Konrad Rzeszutek Wilk <[email protected]>
Description:
Number of sectors written by the frontend.
What: /sys/bus/xen-backend/devices/*/state
Date: August 2018
KernelVersion: 4.19
Contact: Joe Jin <[email protected]>
Description:
The state of the device. One of: 'Unknown',
'Initialising', 'Initialised', 'Connected', 'Closing',
'Closed', 'Reconfiguring', 'Reconfigured'.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Xen backend identity
1-24아래 attribute의 담당자는 Konrad Rzeszutek Wilk <[email protected]>다.
| 경로 | 도입 | 의미 |
|---|---|---|
| /sys/bus/xen-backend/devices/*/devtype | 2009년 2월 · kernel 2.6.38 | Device type이다. 예를 들어 vbd는 block, vif는 network, vfb는 framebuffer다. |
| /sys/bus/xen-backend/devices/*/nodename | 2009년 2월 · kernel 2.6.38 | 이 backend device의 /local/domain/NNN/ 아래 XenStore node다. |
| /sys/bus/xen-backend/devices/vbd-*/physical_device | 2011년 4월 · kernel 3.0 | Backend block device에 storage를 제공하는 physical device의 major:minor 번호를 16진수로 표시한다. |
VBD mode와 frontend 통계
26-75아래 VBD attribute는 2011년 4월 kernel 3.0에 도입됐고 담당자는 Konrad Rzeszutek Wilk다.
| 경로 | 의미 |
|---|---|
| /sys/bus/xen-backend/devices/vbd-*/mode | Block device가 read-only면 r, read/write면 w다. |
| .../statistics/f_req | Frontend에서 받은 flush request 수 |
| .../statistics/oo_req | Backend가 이전 request를 처리하느라 너무 바빠 지연된 request 수 |
| .../statistics/rd_req | Frontend에서 받은 read request 수 |
| .../statistics/rd_sect | Frontend가 읽은 sector 수 |
| .../statistics/wr_req | Frontend에서 받은 write request 수 |
| .../statistics/wr_sect | Frontend가 쓴 sector 수 |
Backend device state
77-84| 항목 | 값 |
|---|---|
| What | /sys/bus/xen-backend/devices/*/state |
| Date | 2018년 8월 |
| KernelVersion | 4.19 |
| Contact | Joe Jin <[email protected]> |
Device state는 Unknown, Initialising, Initialised, Connected, Closing, Closed, Reconfiguring, Reconfigured 가운데 하나다.
Backend identity
sysfs-bus-xen-backend:1-24vbd·vif·vfb type, XenStore node와 VBD storage를 제공하는 physical major:minor를 노출합니다.