zfs/include/os
youzhongyang c5431f1465
linux 6.3 compat: needs REQ_PREFLUSH | REQ_OP_WRITE
Modify bio_set_flush() so if kernel version is >= 4.10, flags 
REQ_PREFLUSH and REQ_OP_WRITE are set together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Youzhong Yang <yyang@mathworks.com>
Closes #14695
2023-03-31 09:46:22 -07:00
..
freebsd spl: cmn_err_once() should be usable in brace-less if else statements 2023-03-15 11:13:25 -07:00
linux linux 6.3 compat: needs REQ_PREFLUSH | REQ_OP_WRITE 2023-03-31 09:46:22 -07:00