Skip to content

Commit 13be879

Browse files
chaseyuJaegeuk Kim
authored andcommitted
f2fs: fix 32-bits hexademical number in fault injection doc
FAULT_KMALLOC 0x000000001 There is one redundant '0' in 32-bits hexademical number of fault type, remove it. Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 parent a920196 commit 13be879

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

Documentation/ABI/testing/sysfs-fs-f2fs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -710,33 +710,33 @@ Description: Support configuring fault injection type, should be
710710
enabled with fault_injection option, fault type value
711711
is shown below, it supports single or combined type.
712712

713-
=========================== ===========
713+
=========================== ==========
714714
Type_Name Type_Value
715-
=========================== ===========
716-
FAULT_KMALLOC 0x000000001
717-
FAULT_KVMALLOC 0x000000002
718-
FAULT_PAGE_ALLOC 0x000000004
719-
FAULT_PAGE_GET 0x000000008
720-
FAULT_ALLOC_BIO 0x000000010 (obsolete)
721-
FAULT_ALLOC_NID 0x000000020
722-
FAULT_ORPHAN 0x000000040
723-
FAULT_BLOCK 0x000000080
724-
FAULT_DIR_DEPTH 0x000000100
725-
FAULT_EVICT_INODE 0x000000200
726-
FAULT_TRUNCATE 0x000000400
727-
FAULT_READ_IO 0x000000800
728-
FAULT_CHECKPOINT 0x000001000
729-
FAULT_DISCARD 0x000002000
730-
FAULT_WRITE_IO 0x000004000
731-
FAULT_SLAB_ALLOC 0x000008000
732-
FAULT_DQUOT_INIT 0x000010000
733-
FAULT_LOCK_OP 0x000020000
734-
FAULT_BLKADDR_VALIDITY 0x000040000
735-
FAULT_BLKADDR_CONSISTENCE 0x000080000
736-
FAULT_NO_SEGMENT 0x000100000
737-
FAULT_INCONSISTENT_FOOTER 0x000200000
738-
FAULT_TIMEOUT 0x000400000 (1000ms)
739-
=========================== ===========
715+
=========================== ==========
716+
FAULT_KMALLOC 0x00000001
717+
FAULT_KVMALLOC 0x00000002
718+
FAULT_PAGE_ALLOC 0x00000004
719+
FAULT_PAGE_GET 0x00000008
720+
FAULT_ALLOC_BIO 0x00000010 (obsolete)
721+
FAULT_ALLOC_NID 0x00000020
722+
FAULT_ORPHAN 0x00000040
723+
FAULT_BLOCK 0x00000080
724+
FAULT_DIR_DEPTH 0x00000100
725+
FAULT_EVICT_INODE 0x00000200
726+
FAULT_TRUNCATE 0x00000400
727+
FAULT_READ_IO 0x00000800
728+
FAULT_CHECKPOINT 0x00001000
729+
FAULT_DISCARD 0x00002000
730+
FAULT_WRITE_IO 0x00004000
731+
FAULT_SLAB_ALLOC 0x00008000
732+
FAULT_DQUOT_INIT 0x00010000
733+
FAULT_LOCK_OP 0x00020000
734+
FAULT_BLKADDR_VALIDITY 0x00040000
735+
FAULT_BLKADDR_CONSISTENCE 0x00080000
736+
FAULT_NO_SEGMENT 0x00100000
737+
FAULT_INCONSISTENT_FOOTER 0x00200000
738+
FAULT_TIMEOUT 0x00400000 (1000ms)
739+
=========================== ==========
740740

741741
What: /sys/fs/f2fs/<disk>/discard_io_aware_gran
742742
Date: January 2023

Documentation/filesystems/f2fs.rst

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -182,33 +182,33 @@ fault_type=%d Support configuring fault injection type, should be
182182
enabled with fault_injection option, fault type value
183183
is shown below, it supports single or combined type.
184184

185-
=========================== ===========
185+
=========================== ==========
186186
Type_Name Type_Value
187-
=========================== ===========
188-
FAULT_KMALLOC 0x000000001
189-
FAULT_KVMALLOC 0x000000002
190-
FAULT_PAGE_ALLOC 0x000000004
191-
FAULT_PAGE_GET 0x000000008
192-
FAULT_ALLOC_BIO 0x000000010 (obsolete)
193-
FAULT_ALLOC_NID 0x000000020
194-
FAULT_ORPHAN 0x000000040
195-
FAULT_BLOCK 0x000000080
196-
FAULT_DIR_DEPTH 0x000000100
197-
FAULT_EVICT_INODE 0x000000200
198-
FAULT_TRUNCATE 0x000000400
199-
FAULT_READ_IO 0x000000800
200-
FAULT_CHECKPOINT 0x000001000
201-
FAULT_DISCARD 0x000002000
202-
FAULT_WRITE_IO 0x000004000
203-
FAULT_SLAB_ALLOC 0x000008000
204-
FAULT_DQUOT_INIT 0x000010000
205-
FAULT_LOCK_OP 0x000020000
206-
FAULT_BLKADDR_VALIDITY 0x000040000
207-
FAULT_BLKADDR_CONSISTENCE 0x000080000
208-
FAULT_NO_SEGMENT 0x000100000
209-
FAULT_INCONSISTENT_FOOTER 0x000200000
210-
FAULT_TIMEOUT 0x000400000 (1000ms)
211-
=========================== ===========
187+
=========================== ==========
188+
FAULT_KMALLOC 0x00000001
189+
FAULT_KVMALLOC 0x00000002
190+
FAULT_PAGE_ALLOC 0x00000004
191+
FAULT_PAGE_GET 0x00000008
192+
FAULT_ALLOC_BIO 0x00000010 (obsolete)
193+
FAULT_ALLOC_NID 0x00000020
194+
FAULT_ORPHAN 0x00000040
195+
FAULT_BLOCK 0x00000080
196+
FAULT_DIR_DEPTH 0x00000100
197+
FAULT_EVICT_INODE 0x00000200
198+
FAULT_TRUNCATE 0x00000400
199+
FAULT_READ_IO 0x00000800
200+
FAULT_CHECKPOINT 0x00001000
201+
FAULT_DISCARD 0x00002000
202+
FAULT_WRITE_IO 0x00004000
203+
FAULT_SLAB_ALLOC 0x00008000
204+
FAULT_DQUOT_INIT 0x00010000
205+
FAULT_LOCK_OP 0x00020000
206+
FAULT_BLKADDR_VALIDITY 0x00040000
207+
FAULT_BLKADDR_CONSISTENCE 0x00080000
208+
FAULT_NO_SEGMENT 0x00100000
209+
FAULT_INCONSISTENT_FOOTER 0x00200000
210+
FAULT_TIMEOUT 0x00400000 (1000ms)
211+
=========================== ==========
212212
mode=%s Control block allocation mode which supports "adaptive"
213213
and "lfs". In "lfs" mode, there should be no random
214214
writes towards main area.

0 commit comments

Comments
 (0)