f2fs: introduce FAULT_NO_SEGMENT
authorChao Yu <chao@kernel.org>
Thu, 22 Feb 2024 12:18:51 +0000 (20:18 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 29 Feb 2024 16:34:34 +0000 (08:34 -0800)
commit8b10d3653735e117bc1954ade80d75ad7b46b801
tree1a10c5b7bfab11d04f5da5995e77f5c0a5fff218
parentea59b12ac69774c08aa95cd5b6100700ea0cce97
f2fs: introduce FAULT_NO_SEGMENT

Use it to simulate no free segment case during block allocation.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
Documentation/filesystems/f2fs.rst
fs/f2fs/f2fs.h
fs/f2fs/segment.c
fs/f2fs/super.c