Actions
Feature #79804
open
MW
MW
osd: Sparse Reads and logical allocation preservation for EC pools
Feature #79804:
osd: Sparse Reads and logical allocation preservation for EC pools
Due date:
% Done:
0%
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Description
Design Doc: https://github.com/ceph/ceph/pull/69313
EC pools currently have three related limitations that make them unsuitable for encrypted workloads (RBD with LUKS, CephFS with fscrypt):
- SPARSE_READ is unreliable — all regions are reported as allocated regardless of actual physical allocation state.
- MAPEXT is not supported — the operation returns -EOPNOTSUPP on EC pools entirely.
- Allocation state is not preserved across recovery — when a shard is reconstructed from parity, the OSD cannot distinguish an explicitly-written zero block from a hole. Zero blocks written by the client may be silently deallocated after recovery.
The third point is a hard blocker for encryption: LUKS ciphertext can legitimately encrypt to all-zero bytes. After a recovery event, those regions would be reported as holes, corrupting the encrypted volume from the client's perspective.
This tracker covers the work to fix all three issues, enabling EC pools to be used reliably as data pools for encrypted RBD images and CephFS volumes.
MW Updated by Matty Williams 6 days ago
- Related to Enhancement #83648: osd/ec: consolidate ECSubRead/ECSubReadReply into per-object maps added
MW Updated by Matty Williams 6 days ago
- Related to Enhancement #83649: osd: Return sparse-read extent map separately from read data in MOSDOpReply so the data section is aligned added
MW Updated by Matty Williams 6 days ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 71288
Actions