Replace mount option "f2fs_injection" by injection attributes in sysfs.
Signed-off-by: Sheng Yong
---
fs/f2fs/f2fs.h | 24 ++--
fs/f2fs/super.c | 18 --
2 files changed, 18 insertions(+), 24 deletions(-)
diff --git a/fs/f2fs/f2fs.h
We don't need to use f2fs_bug_on() to treat with any error case when allocating
a block during recovery.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/recovery.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
index
This adds debug information for # of orphan inodes.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/debug.c | 5 -
fs/f2fs/f2fs.h | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c
index 818064b..37615b2 100644
---
This patch introduces a new struct f2fs_fault_info and a global f2fs_fault
to save fault injection status.
Signed-off-by: Sheng Yong
---
fs/f2fs/f2fs.h | 12
fs/f2fs/super.c | 1 +
2 files changed, 13 insertions(+)
diff --git a/fs/f2fs/f2fs.h
Replace mount option "f2fs_injection" by injection attributes in sysfs.
Signed-off-by: Sheng Yong
---
fs/f2fs/f2fs.h | 24 ++--
fs/f2fs/super.c | 15 ---
2 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/fs/f2fs/f2fs.h
Signed-off-by: Sheng Yong
---
fs/f2fs/super.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 28c8992..0e54e84 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -1417,7 +1417,7 @@ static int