summaryrefslogtreecommitdiff
path: root/src/osd/OpRequest.h
diff options
context:
space:
mode:
authorGreg Farnum <gregory.farnum@dreamhost.com>2012-02-01 16:28:18 -0800
committerGreg Farnum <gregory.farnum@dreamhost.com>2012-02-01 17:17:24 -0800
commitf7e6e18a35b22b34d13a8974102d5a806a05ebfb (patch)
tree19833eb6695bcd69df4efb5d7677a68cf608ae63 /src/osd/OpRequest.h
parent8870a6762fa28d241f885f7dd3fd0c84015f287f (diff)
downloadceph-f7e6e18a35b22b34d13a8974102d5a806a05ebfb.tar.gz
osd: OpRequest currently_* needs to look at latest, not hit.
D'oh! Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Diffstat (limited to 'src/osd/OpRequest.h')
-rw-r--r--src/osd/OpRequest.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osd/OpRequest.h b/src/osd/OpRequest.h
index 839400d8667..dfeddd62c8f 100644
--- a/src/osd/OpRequest.h
+++ b/src/osd/OpRequest.h
@@ -55,11 +55,11 @@ public:
bool been_delayed() { return hit_flag_points & flag_delayed; }
bool been_started() { return hit_flag_points & flag_started; }
bool been_sub_op_sent() { return hit_flag_points & flag_sub_op_sent; }
- bool currently_queued_for_pg() { return hit_flag_points & flag_queued_for_pg; }
- bool currently_reached_pg() { return hit_flag_points & flag_reached_pg; }
- bool currently_delayed() { return hit_flag_points & flag_delayed; }
- bool currently_started() { return hit_flag_points & flag_started; }
- bool currently_sub_op_sent() { return hit_flag_points & flag_sub_op_sent; }
+ bool currently_queued_for_pg() { return latest_flag_point & flag_queued_for_pg; }
+ bool currently_reached_pg() { return latest_flag_point & flag_reached_pg; }
+ bool currently_delayed() { return latest_flag_point & flag_delayed; }
+ bool currently_started() { return latest_flag_point & flag_started; }
+ bool currently_sub_op_sent() { return latest_flag_point & flag_sub_op_sent; }
const char *state_string() {
switch(latest_flag_point) {