abbbi / abbbi/nullfsvfs

opening files with o_direct fails on kernel versions >= 5.15

Aperta
#14 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
319
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.