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>
A
Alex Ainscow committed
442b45295f707b8d155caf5d1d51afd4664900db
Parent: 6be06a8