]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: EC: Fix partial reads with LRC plugin 59480/head
authorBill Scales <bill_scales@uk.ibm.com>
Fri, 29 Nov 2024 09:57:18 +0000 (09:57 +0000)
committerBill Scales <bill_scales@uk.ibm.com>
Fri, 29 Nov 2024 20:43:42 +0000 (20:43 +0000)
commit701d8d0e0f0de2877c30cbf71a30411f4b33270e
tree3027f3ec757f67e485b983f3ca881c807f5b5ca3
parent32f22f4d2540b1adffc10e780f407ec68a69d1de
osd: EC: Fix partial reads with LRC plugin

LRC plugin uses a mapping from raw_shard to shard, all other
EC plugins have an identity mapping. Partial reads need to
convert shard back to a raw_shard when calculating how to
trim the buffers that were read.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
src/osd/ECCommon.cc