summaryrefslogtreecommitdiffstats
path: root/src/crimson/osd/pg_backend.h
diff options
context:
space:
mode:
authorYingxin Cheng <yingxin.cheng@intel.com>2025-01-09 11:08:35 +0100
committerGitHub <noreply@github.com>2025-01-09 11:08:35 +0100
commit10c9a4d252f8f21f324ffcdff81b3f1ef033d4f9 (patch)
tree3876b7f2bb4d86f7edb99b98bfc0b5474f65dc26 /src/crimson/osd/pg_backend.h
parentMerge pull request #60848 from cbodley/wip-rgw-deprecate-iam-tenant (diff)
parentcrimson/osd/replicated_recovery_backend: prevent recovery/backfills from (diff)
downloadceph-10c9a4d252f8f21f324ffcdff81b3f1ef033d4f9.tar.xz
ceph-10c9a4d252f8f21f324ffcdff81b3f1ef033d4f9.zip
Merge pull request #60891 from xxhdx1985126/wip-seastore-fadvise-backfill
crimson/os/seastore: add fadvise support to SeaStore and prevent recovery/backfill from polluting the cache of SeaStore Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com> Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Diffstat (limited to 'src/crimson/osd/pg_backend.h')
-rw-r--r--src/crimson/osd/pg_backend.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/crimson/osd/pg_backend.h b/src/crimson/osd/pg_backend.h
index c24176a10e7..9c2230375b0 100644
--- a/src/crimson/osd/pg_backend.h
+++ b/src/crimson/osd/pg_backend.h
@@ -315,7 +315,8 @@ public:
CollectionRef c,
const ghobject_t& oid,
uint64_t off,
- uint64_t len);
+ uint64_t len,
+ uint32_t op_flags = 0);
write_iertr::future<> tmapput(
ObjectState& os,
@@ -375,11 +376,13 @@ public:
object_stat_sum_t& delta_stats);
ll_read_ierrorator::future<ceph::bufferlist> omap_get_header(
const crimson::os::CollectionRef& c,
- const ghobject_t& oid) const;
+ const ghobject_t& oid,
+ uint32_t op_flags = 0) const;
ll_read_ierrorator::future<> omap_get_header(
const ObjectState& os,
OSDOp& osd_op,
- object_stat_sum_t& delta_stats) const;
+ object_stat_sum_t& delta_stats,
+ uint32_t op_flags = 0) const;
interruptible_future<> omap_set_header(
ObjectState& os,
const OSDOp& osd_op,