From 96c0c255ccf9ab234cb494d9032b3880d176e4d2 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Mon, 13 Jul 2020 12:47:15 -0400 Subject: neorados: fixed missing handling of read flags Signed-off-by: Jason Dillaman --- src/neorados/RADOS.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/neorados/RADOS.cc') diff --git a/src/neorados/RADOS.cc b/src/neorados/RADOS.cc index b5f93c5a8e2..d01c67ae8bd 100644 --- a/src/neorados/RADOS.cc +++ b/src/neorados/RADOS.cc @@ -789,7 +789,7 @@ void RADOS::execute(const Object& o, const IOContext& _ioc, ReadOp&& _op, auto oid = reinterpret_cast(&o.impl); auto ioc = reinterpret_cast(&_ioc.impl); auto op = reinterpret_cast(&_op.impl); - auto flags = 0; // Should be in Op. + auto flags = op->op.flags; ZTracer::Trace trace; if (trace_info) { @@ -811,7 +811,7 @@ void RADOS::execute(const Object& o, const IOContext& _ioc, WriteOp&& _op, auto oid = reinterpret_cast(&o.impl); auto ioc = reinterpret_cast(&_ioc.impl); auto op = reinterpret_cast(&_op.impl); - auto flags = 0; // Should be in Op. + auto flags = op->op.flags; ceph::real_time mtime; if (op->mtime) mtime = *op->mtime; -- cgit v1.2.3