HomeFreeBSD

Clean up zfs_clone_010_pos

Description

Clean up zfs_clone_010_pos

Remove a lot of unnecessary setting and incrementing of i.

Remove unused variable j.

Instead of calling out to Python in a loop to generate the same string
repeatedly, generate the string once using shell constructs before
entering the loop.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9284

Details

Provenance
freqlabsAuthored on Sep 5 2019, 11:20 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 5 2019, 11:20 PM
Parents
rG03fdcb9adc59: Make module tunables cross platform
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG8e2c502cf3f5: Clean up zfs_clone_010_pos (authored by freqlabs).Sep 5 2019, 11:20 PM