Commit Graph

9766 Commits

Author SHA1 Message Date
Sage Weil
cf8ce29d3c osd: no error checking in data structure (caller should do it) 2010-04-23 14:42:49 -07:00
Sage Weil
ca464284ab mon: don't create/delete unmanaged snaps if pool snaps exist 2010-04-23 14:42:49 -07:00
Sage Weil
4a53f1c65c librados: clean up headres 2010-04-23 14:42:49 -07:00
Sage Weil
ec7ecc57a0 objecter: do pool op result parsing in Objecter completion wrapper 2010-04-23 14:42:48 -07:00
Greg Farnum
832c91921e librados: Adjust snapid allocation ufnctions and implement new objecter spec 2010-04-23 14:42:48 -07:00
Greg Farnum
076517fb85 objecter: Implement bufferlist-based return code for pool ops 2010-04-23 14:42:48 -07:00
Greg Farnum
f612ab86b1 mon: OSDMonitor fills in MPoolOpReply's bufferlist on unmanaged snap creation 2010-04-23 14:42:48 -07:00
Greg Farnum
57064765b7 msg: Give MPoolOpReply a bufferlist for reply data 2010-04-23 14:42:48 -07:00
Greg Farnum
503c41e6b1 mon: change the unmanaged snap interface for better distinction of reply codes
and snapid numbers.

Of course, this now means that the snapid isn't actually passed
back to the client, but that is about to change.
2010-04-23 14:42:48 -07:00
Greg Farnum
0fb4a6e85a librados: Set selfmanaged snap functions to use int instead of int64_t, too 2010-04-23 14:42:47 -07:00
Greg Farnum
39817b3df6 librados: add small bit of documentation, fix headers 2010-04-23 14:42:46 -07:00
Greg Farnum
4b0021fbe2 mon: don't crash if a client tries to self-manage managed snaps, or vice versa 2010-04-23 14:42:46 -07:00
Greg Farnum
d1d235e7b2 librados: add functions for client-managed snapshots in all the interfaces 2010-04-23 14:42:46 -07:00
Greg Farnum
5fb4e8fab3 objecter: New functions for client-managed snapshots. 2010-04-23 14:42:45 -07:00
Greg Farnum
eba044ce44 mon: OSDMonitor handles client-managed snapshot requests. 2010-04-23 14:42:45 -07:00
Greg Farnum
ac129d7895 osd: pg_pool_t gets new functions for unmanaged (ie, client-managed) snaps 2010-04-23 14:42:45 -07:00
Greg Farnum
5116700fdc msg: Add space for snapid in MPoolOp. Reply now uses an int64_t replyCode.
This allows space for a full 64-bit snapid to be returned, which is about
to be necessary.
2010-04-23 14:42:45 -07:00
Greg Farnum
1cfb41f77d osd: rename PGPool::removed_snaps to cached_removed_snaps to clearly identify 2010-04-09 10:04:18 -07:00
Greg Farnum
e2ca9a3019 auth: cauthtool now identifies itself properly to common_init 2010-04-09 10:02:22 -07:00
Greg Farnum
e949931edb mon: add 'get' command to AuthMon, letting you retrive one entity's keyring data 2010-04-09 10:02:22 -07:00
Sage Weil
b4c564c7d9 librados: clean up object listing api 2010-04-08 21:49:17 -07:00
Sage Weil
bb2c0a9298 osd: clear initial interval_set in build_removed_snaps
Caller may pass a non-empty set, in which case we crashed or returned a bad
result.
2010-04-08 21:21:36 -07:00
Sage Weil
1bcdf34816 testrados: create/use own pool 2010-04-08 20:55:36 -07:00
Sage Weil
0f22be7d89 crc32c: ifdef out dead code to shut up warning 2010-04-08 16:42:59 -07:00
Sage Weil
b3cb1cb0d4 Merge branch 'ns' into unstable 2010-04-08 16:42:15 -07:00
Sage Weil
736a271834 filestore: more informative error on current/ rename failure 2010-04-08 16:42:11 -07:00
Sage Weil
c511dd1a42 init-ceph: include 'noatime' btrfs mount option by default 2010-04-08 16:42:11 -07:00
Sage Weil
4a2ca2b194 testrados: test more stuff 2010-04-08 15:52:40 -07:00
Sage Weil
c2987ce40f objecter: cleanup 2010-04-08 15:52:34 -07:00
Sage Weil
f7f38df3d5 librados: clean up c header 2010-04-08 15:52:28 -07:00
Sage Weil
2112d2081d debian: fix up librados1-dev with all necessary headers 2010-04-08 15:23:03 -07:00
Sage Weil
13d6b38c52 librados: move c++ api into librados.hpp; more type cleanup 2010-04-08 15:22:50 -07:00
Sage Weil
1e05d5c099 librados: use std::string, not nstring, in c++ api 2010-04-08 14:19:01 -07:00
Sage Weil
181b81c19a librados: avoid snapid_t type, types.h 2010-04-08 13:00:29 -07:00
Sage Weil
6c9b36b2db rbdtool: fix man warnings 2010-04-08 12:57:46 -07:00
Sage Weil
5c00d5f75a filestore: check for SNAP_DESTROY ioctl, and file if not present 2010-04-08 10:39:47 -07:00
Sage Weil
c9cb118330 librados: move librados.h to include/ 2010-04-08 09:54:18 -07:00
Sage Weil
2fae333d05 spinlock: move to include/ 2010-04-08 09:51:14 -07:00
Sage Weil
ee13f60f97 spinlock: move to ceph namespace 2010-04-08 09:49:50 -07:00
Sage Weil
e1896d8da8 atomic: move to ceph namespace 2010-04-08 09:48:08 -07:00
Sage Weil
3ea82baa07 atomic: rename test() -> read()
Make the interface slightly less weird.
2010-04-08 09:40:10 -07:00
Sage Weil
aa55570d32 buffer: avoid including ceph assert directly
If assert isn't defined, include the standard C one.  Internal ceph bits
should include assert.h before buffer.h if they want the ceph one.
2010-04-08 09:16:11 -07:00
Sage Weil
df2422f364 assert: use ceph namespace 2010-04-08 09:09:43 -07:00
Sage Weil
74be67713d crc32c: prefix with ceph_ 2010-04-08 09:04:44 -07:00
Sage Weil
ac70c56300 page: move to ceph namespace, defs to common/page.cc 2010-04-08 08:53:03 -07:00
Sage Weil
fc8e3c354b buffer: move to ceph namespace 2010-04-08 08:49:27 -07:00
Sage Weil
50ea193c95 osd: fix transposed clone_range args
We're cloning ranges _into_ soid (and in fact just deleted any old soid
that may have been lingering).
2010-04-08 08:13:09 -07:00
Sage Weil
250ff72a7e spinlock: avoid lockdep include unless lockdep is on 2010-04-08 07:43:23 -07:00
Sage Weil
0fb8d9318f buffer: avoid spinlock include unless debugging is on 2010-04-08 07:43:12 -07:00
Sage Weil
75699dbb0f librados: reduce #includes 2010-04-08 07:42:54 -07:00