mirror of
https://github.com/ceph/ceph
synced 2025-03-19 17:06:24 +00:00
osdc: don't set RETRY flag on all reads
This commit is contained in:
parent
095ff6a28e
commit
c6b7dea887
@ -135,7 +135,12 @@ public:
|
||||
|
||||
void set_want_ack(bool b) { head.flags = get_flags() | CEPH_OSD_OP_ACK; }
|
||||
void set_want_commit(bool b) { head.flags = get_flags() | CEPH_OSD_OP_SAFE; }
|
||||
void set_retry_attempt(bool a) { head.flags = get_flags() | CEPH_OSD_OP_RETRY; }
|
||||
void set_retry_attempt(bool a) {
|
||||
if (a)
|
||||
head.flags = head.flags | CEPH_OSD_OP_RETRY;
|
||||
else
|
||||
head.flags = head.flags & ~CEPH_OSD_OP_RETRY;
|
||||
}
|
||||
|
||||
// marshalling
|
||||
virtual void decode_payload() {
|
||||
|
Loading…
Reference in New Issue
Block a user