summaryrefslogtreecommitdiff
path: root/src/streamtest.cc
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-05-06 13:12:29 -0700
committerSage Weil <sage@newdream.net>2009-05-07 15:32:01 -0700
commitfc057ff8a7aca883dcc508290f711a091cb712dd (patch)
treeb2b1ac9d1e35da048e6ccb2d81f2605c74e4d1a9 /src/streamtest.cc
parent21c8b59ff4488047c19f27684c7fb069fc4859f9 (diff)
downloadceph-fc057ff8a7aca883dcc508290f711a091cb712dd.tar.gz
osd: move .snap out of object_t
This makes the snap versioning completely orthogonal to the logical object name (object_t). This is key since eventually object_t won't be structured. And the old way made for an awkward interface anyway. Also killed the .snap = 0 special casing, which AFAICS was useless.
Diffstat (limited to 'src/streamtest.cc')
-rw-r--r--src/streamtest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/streamtest.cc b/src/streamtest.cc
index ec28247a825..f8666651842 100644
--- a/src/streamtest.cc
+++ b/src/streamtest.cc
@@ -117,7 +117,7 @@ int main(int argc, const char **argv)
//cout << "stop at " << end << std::endl;
cout << "# offset\tack\tcommit" << std::endl;
while (now < end) {
- pobject_t poid(0, 0, object_t(1, 1));
+ pobject_t poid(object_t(1, 1), 0);
utime_t start = now;
set_start(pos, now);
ObjectStore::Transaction t;