]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Deny EC optimizations (fast EC) for non-4k-aligned chunk-sizes. 67319/head
authorAlex Ainscow <aainscow@uk.ibm.com>
Wed, 11 Feb 2026 18:11:12 +0000 (18:11 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 18 Feb 2026 15:41:48 +0000 (15:41 +0000)
commit1195a583d829c6b706df111159cc5c02172a2f88
treeff491ef30ba77c773e26b0ba790cdef604685e48
parent35add40a1be994586dc94fc16c3627ea2bd96871
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.

Fixes: https://tracker.ceph.com/issues/74813
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit 442b45295f707b8d155caf5d1d51afd4664900db)
src/mon/OSDMonitor.cc