HomeFreeBSD

zvol: Cleanup set property

Description

zvol: Cleanup set property

zvol_set_volmode() and zvol_set_snapdev() share a common code path.
Merge this shared code path into zvol_set_common().

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #15409

Details

Provenance
Ameer Hamza <ahamza@ixsystems.com>Authored on Oct 11 2023, 10:31 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 31 2023, 4:49 PM
Parents
rG799e09f75a31: Unify arc_prune_async() code
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGdbe839a9ca1d: zvol: Cleanup set property (authored by Ameer Hamza <ahamza@ixsystems.com>).Oct 31 2023, 4:49 PM