Description of problem: On EC reads always read entire stripe, including padding. Version-Release number of selected component (if applicable): ceph version 16.2.0-117.el8cp (0e34bb74700060ebfaa22d99b7d2cdc037b28a57) pacific (stable) How reproducible: Easy. Steps to Reproduce: * Create k=2 m=1 erasure code profile with stripe_unit set to 4M (implicit 8M stripe_width) * Write 4M objects * Read objects * Observe 8M worth of reads Actual results: Entire stripe read (8M) Expected results: Only data read, not padding (4M)
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.
Or really, no need to set the stripe_unit at all. Just write 4K objects, read them, and observe 8K worth of reads (4K of actual data on primary, 4K of padding on secondary).