> @@ -51,7 +51,7 @@ typeset -i min max mem
>  ((min = 2 * 1024 * 1024 * 1024))
>  ((max = 16 * 1024 * 1024 * 1024))
>  
> -for vbs in 512 1024 2048 4096 8192 16384 32768 65536 131072; do
> +for vbs in 8192 16384 32768 65536 131072; do
>       for multiplier in 1 32 16384 131072; do
>               ((volsize = vbs * multiplier))

I solved this problem but skipping an iteration (using `continue`) if `volsize` 
is less than `2 * $(PAGESIZE)`.
At least that's how I interpreted information in the `swap` manual page. That 
seems to work.

---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/27/files#r45336886
_______________________________________________
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to