Skip to content

Replace core_id array with a bitmap in kcas_cache_info#1759

Merged
robertbaldyga merged 1 commit into
Open-CAS:masterfrom
robertbaldyga:core-bitmap
May 5, 2026
Merged

Replace core_id array with a bitmap in kcas_cache_info#1759
robertbaldyga merged 1 commit into
Open-CAS:masterfrom
robertbaldyga:core-bitmap

Conversation

@robertbaldyga
Copy link
Copy Markdown
Member

Reduce the struct size from 12288 bytes to 4608 bytes, to fix compilation on PowerPC architecture, where _IOC_SIZEBITS is set to 13, limiting maximum size of ioctl argument structure to under 8192 bytes.

Reduce the struct size from 12288 bytes to 4608 bytes, to fix compilation
on PowerPC architecture, where _IOC_SIZEBITS is set to 13, limiting maximum
size of ioctl argument structure to under 8192 bytes.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga robertbaldyga merged commit ae6d9c5 into Open-CAS:master May 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant