요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Transaction grant accounting
sysfs-fs-xfs:18-37Outstanding transactions가 예약한 전체 log bytes와 rolling transaction의 regrant까지 포함한 write grant 상태를 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/fs/xfs/<disk>/log/log_head_lsn
2
Date: July 2014
3
KernelVersion: 3.17
4
Contact: linux-xfs@vger.kernel.org
5
Description:
6
The log sequence number (LSN) of the current head of the
7
log. The LSN is exported in "cycle:basic block" format.
8
Users: xfstests
10
What: /sys/fs/xfs/<disk>/log/log_tail_lsn
11
Date: July 2014
12
KernelVersion: 3.17
13
Contact: linux-xfs@vger.kernel.org
14
Description:
15
The log sequence number (LSN) of the current tail of the
16
log. The LSN is exported in "cycle:basic block" format.
18
What: /sys/fs/xfs/<disk>/log/reserve_grant_head_bytes
19
Date: June 2024
20
KernelVersion: 6.11
21
Contact: linux-xfs@vger.kernel.org
22
Description:
23
The current state of the log reserve grant head. It
24
represents the total log reservation of all currently
25
outstanding transactions in bytes.
26
Users: xfstests
28
What: /sys/fs/xfs/<disk>/log/write_grant_head_bytes
29
Date: June 2024
30
KernelVersion: 6.11
31
Contact: linux-xfs@vger.kernel.org
32
Description:
33
The current state of the log write grant head. It
34
represents the total log reservation of all currently
35
outstanding transactions, including regrants due to
36
rolling transactions in bytes.
37
Users: xfstests
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
XFS log head lsn
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/fs/xfs/<disk>/log/log_head_lsn |
| Date | 2014년 7월 |
| KernelVersion | 3.17 |
| Contact | linux-xfs@vger.kernel.org |
| Users | xfstests |
| Description | 현재 log head의 log sequence number(LSN)를 표시합니다. LSN은 `cycle:basic block` 형식으로 export됩니다. 이 ABI의 사용자는 `xfstests`입니다. |
XFS log tail lsn
10-17| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/fs/xfs/<disk>/log/log_tail_lsn |
| Date | 2014년 7월 |
| KernelVersion | 3.17 |
| Contact | linux-xfs@vger.kernel.org |
| Description | 현재 log tail의 log sequence number(LSN)를 표시합니다. LSN은 `cycle:basic block` 형식으로 export됩니다. |
AttributeBoundaryFormat
log_head_lsnCurrent log headcycle:basic block
log_tail_lsnCurrent log tailcycle:basic block
Head와 tail은 같은 `cycle:basic block` LSN 형식을 사용합니다.
XFS reserve grant head bytes
18-27| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/fs/xfs/<disk>/log/reserve_grant_head_bytes |
| Date | 2024년 6월 |
| KernelVersion | 6.11 |
| Contact | linux-xfs@vger.kernel.org |
| Users | xfstests |
| Description | 현재 log reserve grant head 상태를 표시합니다. 현재 outstanding 상태인 모든 transactions의 전체 log reservation을 bytes 단위로 나타냅니다. 이 ABI의 사용자는 `xfstests`입니다. |
XFS write grant head bytes
28-37| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/fs/xfs/<disk>/log/write_grant_head_bytes |
| Date | 2024년 6월 |
| KernelVersion | 6.11 |
| Contact | linux-xfs@vger.kernel.org |
| Users | xfstests |
| Description | 현재 log write grant head 상태를 표시합니다. Rolling transactions 때문에 다시 부여된 regrants를 포함하여 현재 outstanding 상태인 모든 transactions의 전체 log reservation을 bytes 단위로 나타냅니다. 이 ABI의 사용자는 `xfstests`입니다. |
AttributeIncluded reservationsUnit
reserve_grant_head_bytesAll outstanding transactionsBytes
write_grant_head_bytesOutstanding transactions plus rolling-transaction regrantsBytes
Outstanding transaction reservations를 두 grant head 관점에서 bytes로 집계합니다.
Log sequence boundaries
sysfs-fs-xfs:1-17XFS journal의 현재 head와 tail 위치를 `cycle:basic block` 형식의 log sequence number로 제공합니다.