Open abbbi opened 2 years ago
On kernels >= 5.15 module uses ram_aops instead of nullfs_aops structure:
https://github.com/abbbi/nullfsvfs/blob/master/nullfs.c#L342
which does not expose noop direct_io (notably becuase O_DIRECT does not make sense on a FS with memory backend). Newer kenerl versions do not expose simple_readpage etc.. so the only way would be to redefine them, not sure if thats worth the hassle.
On kernels >= 5.15 module uses ram_aops instead of nullfs_aops structure:
https://github.com/abbbi/nullfsvfs/blob/master/nullfs.c#L342
which does not expose noop direct_io (notably becuase O_DIRECT does not make sense on a FS with memory backend). Newer kenerl versions do not expose simple_readpage etc.. so the only way would be to redefine them, not sure if thats worth the hassle.