Loading Documentation/ABI/testing/sysfs-fs-f2fs +1 −1 Original line number Diff line number Diff line Loading @@ -741,7 +741,7 @@ Description: Support configuring fault injection type, should be FAULT_BLKADDR_CONSISTENCE 0x00080000 FAULT_NO_SEGMENT 0x00100000 FAULT_INCONSISTENT_FOOTER 0x00200000 FAULT_TIMEOUT 0x00400000 (1000ms) FAULT_ATOMIC_TIMEOUT 0x00400000 (1000ms) FAULT_VMALLOC 0x00800000 =========================== ========== Loading Documentation/filesystems/f2fs.rst +1 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,7 @@ fault_type=%d Support configuring fault injection type, should be FAULT_BLKADDR_CONSISTENCE 0x00080000 FAULT_NO_SEGMENT 0x00100000 FAULT_INCONSISTENT_FOOTER 0x00200000 FAULT_TIMEOUT 0x00400000 (1000ms) FAULT_ATOMIC_TIMEOUT 0x00400000 (1000ms) FAULT_VMALLOC 0x00800000 =========================== ========== mode=%s Control block allocation mode which supports "adaptive" Loading fs/f2fs/f2fs.h +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ enum { FAULT_BLKADDR_CONSISTENCE, FAULT_NO_SEGMENT, FAULT_INCONSISTENT_FOOTER, FAULT_TIMEOUT, FAULT_ATOMIC_TIMEOUT, FAULT_VMALLOC, FAULT_MAX, }; Loading fs/f2fs/segment.c +1 −1 Original line number Diff line number Diff line Loading @@ -371,7 +371,7 @@ static int __f2fs_commit_atomic_write(struct inode *inode) } out: if (time_to_inject(sbi, FAULT_TIMEOUT)) if (time_to_inject(sbi, FAULT_ATOMIC_TIMEOUT)) f2fs_io_schedule_timeout_killable(DEFAULT_FAULT_TIMEOUT); if (ret) { Loading fs/f2fs/super.c +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ const char *f2fs_fault_name[FAULT_MAX] = { [FAULT_BLKADDR_CONSISTENCE] = "inconsistent blkaddr", [FAULT_NO_SEGMENT] = "no free segment", [FAULT_INCONSISTENT_FOOTER] = "inconsistent footer", [FAULT_TIMEOUT] = "timeout", [FAULT_ATOMIC_TIMEOUT] = "atomic timeout", [FAULT_VMALLOC] = "vmalloc", }; Loading Loading
Documentation/ABI/testing/sysfs-fs-f2fs +1 −1 Original line number Diff line number Diff line Loading @@ -741,7 +741,7 @@ Description: Support configuring fault injection type, should be FAULT_BLKADDR_CONSISTENCE 0x00080000 FAULT_NO_SEGMENT 0x00100000 FAULT_INCONSISTENT_FOOTER 0x00200000 FAULT_TIMEOUT 0x00400000 (1000ms) FAULT_ATOMIC_TIMEOUT 0x00400000 (1000ms) FAULT_VMALLOC 0x00800000 =========================== ========== Loading
Documentation/filesystems/f2fs.rst +1 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,7 @@ fault_type=%d Support configuring fault injection type, should be FAULT_BLKADDR_CONSISTENCE 0x00080000 FAULT_NO_SEGMENT 0x00100000 FAULT_INCONSISTENT_FOOTER 0x00200000 FAULT_TIMEOUT 0x00400000 (1000ms) FAULT_ATOMIC_TIMEOUT 0x00400000 (1000ms) FAULT_VMALLOC 0x00800000 =========================== ========== mode=%s Control block allocation mode which supports "adaptive" Loading
fs/f2fs/f2fs.h +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ enum { FAULT_BLKADDR_CONSISTENCE, FAULT_NO_SEGMENT, FAULT_INCONSISTENT_FOOTER, FAULT_TIMEOUT, FAULT_ATOMIC_TIMEOUT, FAULT_VMALLOC, FAULT_MAX, }; Loading
fs/f2fs/segment.c +1 −1 Original line number Diff line number Diff line Loading @@ -371,7 +371,7 @@ static int __f2fs_commit_atomic_write(struct inode *inode) } out: if (time_to_inject(sbi, FAULT_TIMEOUT)) if (time_to_inject(sbi, FAULT_ATOMIC_TIMEOUT)) f2fs_io_schedule_timeout_killable(DEFAULT_FAULT_TIMEOUT); if (ret) { Loading
fs/f2fs/super.c +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ const char *f2fs_fault_name[FAULT_MAX] = { [FAULT_BLKADDR_CONSISTENCE] = "inconsistent blkaddr", [FAULT_NO_SEGMENT] = "no free segment", [FAULT_INCONSISTENT_FOOTER] = "inconsistent footer", [FAULT_TIMEOUT] = "timeout", [FAULT_ATOMIC_TIMEOUT] = "atomic timeout", [FAULT_VMALLOC] = "vmalloc", }; Loading