]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: avoid inserting an op into hit set multiple times 3606/head
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Tue, 24 Mar 2015 03:36:49 +0000 (11:36 +0800)
committerZhiqiang Wang <zhiqiang.wang@intel.com>
Tue, 24 Mar 2015 03:36:49 +0000 (11:36 +0800)
commit0d35e012454406213137c3e859477b4597cc9e7d
tree0633b7ad2b81dd65263d00cb1c7d82a625a2e1df
parentc50255fc24e8f62e45cf1a32d04057b9ea7758dd
osd: avoid inserting an op into hit set multiple times

When an op is enqueued multiple times, it is inserted into the hit set
every time. Only need to insert once.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
src/osd/OpRequest.cc
src/osd/OpRequest.h
src/osd/ReplicatedPG.cc