]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Introduce pool flag for "split IO" and Plugin flag for "direct read"
authorAlex Ainscow <aainscow@uk.ibm.com>
Fri, 3 Oct 2025 12:49:58 +0000 (13:49 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 26 Nov 2025 11:28:24 +0000 (11:28 +0000)
commitac8816c970362ad62ba743454fbc8ffa91f35fb0
tree97734c43b9b6941200d351e0eb7618ce1608ae56
parent8b8c88ae65afd6a76502fbd5acc77eb89920819d
osd: Introduce pool flag for "split IO" and Plugin flag for "direct read"

These flags will currently behave as follows:

1. The pool flag is never set, unless by a user with the osd_pool_default_flags
   config option.
2. The pool flag will be removed for EC pools where the plugin does not support
   direct reads.
3. Replica pools will never remove the flag.

The intention is to eventually invert this logic and allow split IOs upon
upgrade to Umberella in this same function.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/erasure-code/ErasureCodeInterface.h
src/erasure-code/isa/ErasureCodeIsa.h
src/erasure-code/jerasure/ErasureCodeJerasure.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/osd/ECUtil.h
src/osd/osd_types.h