]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: Deny EC optimizations (fast EC) for non-4k-aligned chunk-sizes.
authorAlex Ainscow <aainscow@uk.ibm.com>
Wed, 11 Feb 2026 18:11:12 +0000 (18:11 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 11 Feb 2026 20:04:16 +0000 (20:04 +0000)
commit7ed70925fd5fb4219af4416cfc8d52e6cc9d4eac
tree20f542334a56f0eacf08381032b32d3cbb1e4946
parent6be06a8c1be5ed2a6f65188a979dd9b594c28074
mon: Deny EC optimizations (fast EC) for non-4k-aligned chunk-sizes.

There are some bugs in the way Fast EC handles non 4k-aligned chunk sizes.

Such chunk sizes are buggy and even if they did work, the performance
would not be very good.  Storage efficiency is also not helped by these
unusual encodings.

This commit will reject any attempt to turn optimizations (fast EC) on.

If the default is set to turn optimizations on, then this will be ignored
if the profile is not 4k aligned.

Note that to create a profile in the first place requires a --force override.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/mon/OSDMonitor.cc