opnsense-src/include/os/linux/kernel/linux
Rob Norris e95b732e49 Linux 6.11: enable queue flush through queue limits
In 6.11 struct queue_limits gains a 'features' field, where, among other
things, flush and write-cache are enabled. Detect it and use it.

Along the way, the blk_queue_set_write_cache() compat wrapper gets a
little cleanup. Since both flags are alway set together, its now a
single bool. Also the very very ancient version that sets q->flush_flags
directly couldn't actually turn it off, so I've fixed that. Not that we
use it, but still.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #16400
2024-08-13 17:46:41 -07:00
..
blkdev_compat.h Linux 6.11: enable queue flush through queue limits 2024-08-13 17:46:41 -07:00
compiler_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
dcache_compat.h compact: workaround for GPL-only symbols on riscv from Linux 6.2 2023-12-06 12:37:50 -08:00
kmap_compat.h Use kmap_local_page instead of kmap_atomic (#16329) 2024-07-16 17:27:29 -07:00
mm_compat.h linux 5.4 compat: page_size() 2024-03-25 16:48:15 -07:00
mod_compat.h vdev_disk: rewrite BIO filling machinery to avoid split pages 2024-03-25 16:51:14 -07:00
page_compat.h Linux 5.9 compat: NR_SLAB_RECLAIMABLE 2020-08-29 20:57:45 -07:00
percpu_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
simd.h Add SHA2 SIMD feature tests for Linux 2023-03-02 13:52:04 -08:00
simd_aarch64.h Linux 6.2 compat: add check for kernel_neon_* availability 2024-01-08 16:05:24 -08:00
simd_arm.h Linux 6.2 compat: add check for kernel_neon_* availability 2024-01-08 16:05:24 -08:00
simd_powerpc.h Refactor CONFIG_SPE check on Linux/powerpc 2023-03-15 10:30:42 -07:00
simd_x86.h Avoid save/restoring AMX registers to avoid a SPR erratum 2023-08-26 11:25:46 -07:00
utsname_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
vfs_compat.h Linux 6.6 compat: generic_fillattr has a new u32 request_mask added at arg2 2023-09-21 18:38:40 -07:00
xattr_compat.h Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00