[f2fs-dev] Is compression available under direct-io mode?

2023-05-11 Thread Sijie Lan
Hi, guys, When I do some specific test scenarios, I want to do some direct write after data have been compressed in F2FS, but when I track the internal functions, it seems F2FS forces my direct-io request to buffer-io mode. Does it mean we can not do the write direct-io if we applied the compressi

[f2fs-dev] Mkfs.f2fs on null_blk device

2022-10-31 Thread Sijie Lan
When I try to make f2fs on null_blk device, it always shows "Device size is not sufficient for F2FS volume", I am I gave enough space for the file system, i.e, 20GiB. I just want to know hot to fix it. this is the output message: [sijie@fedora null_blk]$ sudo mkfs.f2fs -f -m /dev/nullb1 F2FS-