← Documents Documentation/ABI/testing/sysfs-fs-xfs GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

XFS filesystem sysfs ABI

XFS log의 head·tail LSN과 outstanding·rolling transaction에 할당된 reserve/write grant bytes를 설명합니다.

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

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

1. 요약·해설

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

Log sequence boundaries

sysfs-fs-xfs:1-17

XFS journal의 현재 head와 tail 위치를 `cycle:basic block` 형식의 log sequence number로 제공합니다.

Transaction grant accounting

sysfs-fs-xfs:18-37

Outstanding 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
9
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.
17
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
27
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
38

3. 한국어 전문 번역

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

XFS log head lsn

1-9
항목한국어 전문 번역
What/sys/fs/xfs/<disk>/log/log_head_lsn
Date2014년 7월
KernelVersion3.17
Contactlinux-xfs@vger.kernel.org
Usersxfstests
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
Date2014년 7월
KernelVersion3.17
Contactlinux-xfs@vger.kernel.org
Description현재 log tail의 log sequence number(LSN)를 표시합니다. LSN은 `cycle:basic block` 형식으로 export됩니다.
XFS log sequence boundaries
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
Date2024년 6월
KernelVersion6.11
Contactlinux-xfs@vger.kernel.org
Usersxfstests
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
Date2024년 6월
KernelVersion6.11
Contactlinux-xfs@vger.kernel.org
Usersxfstests
Description현재 log write grant head 상태를 표시합니다. Rolling transactions 때문에 다시 부여된 regrants를 포함하여 현재 outstanding 상태인 모든 transactions의 전체 log reservation을 bytes 단위로 나타냅니다. 이 ABI의 사용자는 `xfstests`입니다.
XFS log grant accounting
AttributeIncluded reservationsUnit
reserve_grant_head_bytesAll outstanding transactionsBytes
write_grant_head_bytesOutstanding transactions plus rolling-transaction regrantsBytes

Outstanding transaction reservations를 두 grant head 관점에서 bytes로 집계합니다.