Re: [PATCH v5] f2fs: introduce device aliasing file

From: Chao Yu
Date: Fri Oct 11 2024 - 22:40:52 EST


On 2024/10/11 3:26, Daeho Jeong wrote:
From: Daeho Jeong <daehojeong@xxxxxxxxxx>

F2FS should understand how the device aliasing file works and support
deleting the file after use. A device aliasing file can be created by
mkfs.f2fs tool and it can map the whole device with an extrent, not
using node blocks. The file space should be pinned and normally used for
read-only usages.

Signed-off-by: Daeho Jeong <daehojeong@xxxxxxxxxx>
Signed-off-by: Chao Yu <chao@xxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

---
v5: added a ioctl to know whether a file is for device aliasing

IMO, maybe we need to add a common wrapper to export all trivial flags of
f2fs, which can improve scalability, it benefits the case whenever we want
to export new flags.

Thanks,