Is compression available under direct-io mode?

From: Sijie Lan
Date: Thu May 11 2023 - 21:15:06 EST


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
compression feature? In other words, must f2fs use an inside buffer to
provide compression functions?