Open akiradeveloper opened 3 years ago
The req type is backward compatible but the req flag isn't backward compatible.
We should
CGROUP_PUNT has appeared in 5.3 http://tomoyo.osdn.jp/cgi-bin/lxr/source/include/linux/blk_types.h?v=linux-5.3.18
The way io-uring does looks good to me https://github.com/tokio-rs/io-uring/blob/master/build.rs
https://docs.rs/bitflags/1.2.1/bitflags/