Thread (1 message) 1 message, 1 author, 2020-12-01

Re: [PATCH v2] block: use gcd() to fix chunk_sectors limit stacking

From: Martin K. Petersen <hidden>
Date: 2020-12-01 18:03:42
Also in: dm-devel

Mike,
And since commit 07d098e6bbad ("block: allow 'chunk_sectors' to be
non-power-of-2") care must be taken to properly stack chunk_sectors to
be compatible with the possibility that a non-power-of-2 chunk_sectors
may be stacked. This is why gcd() is used instead of reverting back
to using min_not_zero().
This approach looks fine to me.

Reviewed-by: Martin K. Petersen <redacted>

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help