Files
mirror_zfs/config
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
..
2021-01-26 16:12:26 -08:00
2021-05-27 22:39:53 -07:00
2022-02-18 09:34:25 -08:00
2022-04-01 17:58:07 -07:00
2021-05-27 14:27:29 -06:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2022-03-14 12:37:39 -07:00
2021-01-02 16:55:55 -08:00
2019-08-30 09:40:30 -07:00
2022-03-28 10:24:22 -07:00
2021-01-02 16:55:55 -08:00
2022-03-28 10:24:22 -07:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00