]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: use l_rgw_qactive perfcounter
authorGreg Farnum <gregory.farnum@dreamhost.com>
Tue, 8 Nov 2011 18:04:59 +0000 (10:04 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Tue, 8 Nov 2011 18:04:59 +0000 (10:04 -0800)
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/rgw/rgw_main.cc

index 1c0b95ce83045ae6f722541943d1eec677b28c17..d53ffa84bc80bfae2a3a6b4647eb7548ed57904e 100644 (file)
@@ -96,7 +96,9 @@ class RGWProcess {
       return req;
     }
     void _process(FCGX_Request *fcgx) {
+      perfcounter->inc(l_rgw_qactive);
       process->handle_request(fcgx);
+      perfcounter->inc(l_rgw_qactive, -1);
     }
     void _dump_queue() {
       deque<FCGX_Request *>::iterator iter;