This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORTX-33876: Log device size should be power of 2 with limits (#2151)
The validation for log device size was missing which resulted in failure of cluster bootstrap. Default size was taken from lsblk if not provided via confstore. Solution: Following motr constraints are considered: - the log device size upper and lower bounds is set to 4GB and 128MB respectively. - The size of the log device is rounded off to the nearest power of 2. Signed-off-by: Shreya Karmakar <shreya.karmakar@seagate.com> Signed-off-by: Shreya Karmakar <shreya.karmakar@seagate.com>
- Loading branch information