mirror_zfs/man
Rob Norris 6af8db61b1
metaslab: don't pass whole zio to throttle reserve APIs
They only need a couple of fields, and passing the whole thing just
invites fiddling around inside it, like modifying flags, which then
makes it much harder to understand the zio state from inside zio.c.

We move the flag update to just after a successful throttle in zio.c.

Rename ZIO_FLAG_IO_ALLOCATING to ZIO_FLAG_ALLOC_THROTTLED
Better describes what it means, and makes it look less like
IO_IS_ALLOCATING, which means something different.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #17508
2025-07-04 23:22:22 -04:00
..
man1 Harmonize on American spelling in several places 2025-03-24 14:36:34 -07:00
man4 Relax zfs_vnops_read_chunk_size limitations 2025-06-04 11:24:15 -04:00
man5 SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
man7 Relax special_small_blocks restrictions 2025-07-02 11:11:37 -07:00
man8 metaslab: don't pass whole zio to throttle reserve APIs 2025-07-04 23:22:22 -04:00
Makefile.am Introduce zfs rewrite subcommand (#17246) 2025-05-12 10:22:17 -07:00