Project

General

Profile

Actions

Feature #75828

open
MW

ceph_test_rados does not allow Write Ops to EC pools

Feature #75828: ceph_test_rados does not allow Write Ops to EC pools

Added by Matty Williams 8 months ago. Updated 17 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

Historically, EC pools did not allow for partial overwrites, so write ops were marked as invalid in src/test/osd/TestRados.cc.

Nowadays, EC pools can support write operations if the ec_overwrites flag is set.

Therefore, ceph_test_rados should check whether an EC pool can support overwrites, and if so, allow the use of write ops for that run. Currently an error message is shown if this is attempted.

ceph_test_rados --pool <ec-pool-name> --ec-pool --op "write" 1

MS Updated by moheet shendarkar 17 days ago Actions #1

Hi Matty,
Can you assign this issue to me want to give this a try?

P.S. first time contributor

MW Updated by Matty Williams 17 days ago ยท Edited Actions #2

I can assign it to you, however, I have already written code that solves this issue as part of another feature I'm working on.

See https://github.com/ceph/ceph/pull/71288/commits

Commits: Part of (test/osd: Add zero op and enable sparse reads for EC in ceph_test_rados) and most of (test: Enable write ops in EC pools with ec_overwrites enabled) and (test/doc: Skip unsupported op types in ceph_test_rados)

Are you still interested in doing it?

Actions

Also available in: PDF Atom