abbbi / abbbi/nullfsvfs

opening files with o_direct fails on kernel versions >= 5.15

Đang mở
#14 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
319
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.