From: Jason Dillaman Date: Mon, 13 Jul 2020 16:47:15 +0000 (-0400) Subject: neorados: fixed missing handling of read flags X-Git-Tag: v16.1.0~1685^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=96c0c255ccf9ab234cb494d9032b3880d176e4d2;p=ceph.git neorados: fixed missing handling of read flags Signed-off-by: Jason Dillaman --- 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;