]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/JournalingObjectStore: simplify op_submitting sanity check
authorSage Weil <sage@inktank.com>
Fri, 7 Dec 2012 00:27:07 +0000 (16:27 -0800)
committerSage Weil <sage@inktank.com>
Sat, 8 Dec 2012 17:32:47 +0000 (09:32 -0800)
commitf66fe7783eb61bcd6ade00133bed55839e3784a4
treee150d8f03658a2591bba4624b90afe90aedb8348
parenta88b584933004bd1a9e9082954faa632cce3a96e
os/JournalingObjectStore: simplify op_submitting sanity check

A list is overkill; just use a seq and make sure it increments to ensure
the op_submit_finish calls are in order.

Signed-off-by: Sage Weil <sage@inktank.com>
src/os/JournalingObjectStore.cc
src/os/JournalingObjectStore.h