[f2fs-dev] [PATCH 2/3] f2fs: notify when device not supprt inlinecrypt

2022-04-17 Thread Fengnan Chang via Linux-f2fs-devel
Notify when mount filesystem with -o inlinecrypt option, but the device not support inlinecrypt. Signed-off-by: Fengnan Chang --- fs/f2fs/f2fs.h | 18 ++ fs/f2fs/super.c | 7 +++ 2 files changed, 25 insertions(+) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 38cbed0f5

[f2fs-dev] [PATCH 3/3] ext4: notify when device not supprt inlinecrypt

2022-04-17 Thread Fengnan Chang via Linux-f2fs-devel
Notify when mount filesystem with -o inlinecrypt option, but the device not support inlinecrypt. Signed-off-by: Fengnan Chang --- fs/ext4/super.c | 12 1 file changed, 12 insertions(+) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 81749eaddf4c..f91454d3a877 100644 --- a/fs/e

[f2fs-dev] [PATCH 1/3] blk-crypto: introduce blk_crypto_supported

2022-04-17 Thread Fengnan Chang via Linux-f2fs-devel
Introduce blk_crypto_supported, Filesystems may use this to check wheather storage device support inline encryption. Signed-off-by: Fengnan Chang --- block/blk-crypto.c | 6 +- include/linux/blk-crypto.h | 5 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/block/

[f2fs-dev] [PATCH v2] dump.f2fs: add -I nid to dump inode by scan full disk

2022-04-17 Thread Yufen Yu via Linux-f2fs-devel
Usage: dump.f2fs -I [inode nid] /dev/sda This feature can be useful for some bugs caused by system crash. We not only need dump current valid node page, but alse the history data in disk, which can give some clues for status change of the inode. Signed-off-by: Yufen Yu --- fsck/dump.c

Re: [f2fs-dev] [PATCH] dump.f2fs: add -I nid to dump inode by scan full disk

2022-04-17 Thread Chao Yu
On 2022/4/15 9:59, Yufen Yu via Linux-f2fs-devel wrote: Usage: dump.f2fs -I [inode nid] /dev/sda This feature can be useful for some bugs caused by system crash. We not only need dump current valid node page, but alse the history data in disk, which can give some clues for status change