zfs: holds: dequadratify
Before:
15 0m0.177s
30 0m0.653s
45 0m1.289s
60 0m2.129s
75 0m3.264s
90 0m4.397s
100 0m5.996s
117 0m8.552s
After:
30 0m0.053s
117 0m0.125s
Upstream-commit: 2a70a09072
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13372
Closes #13373
This commit is contained in:
parent
49c1346c10
commit
c0ff5f1560
|
@ -6593,7 +6593,7 @@ zfs_do_holds(int argc, char **argv)
|
|||
/*
|
||||
* 1. collect holds data, set format options
|
||||
*/
|
||||
ret = zfs_for_each(argc, argv, flags, types, NULL, NULL, limit,
|
||||
ret = zfs_for_each(1, argv + i, flags, types, NULL, NULL, limit,
|
||||
holds_callback, &cb);
|
||||
if (ret != 0)
|
||||
++errors;
|
||||
|
|
Loading…
Reference in New Issue