Sage Weil
6f7523a0a4
rados: -i and -o are still there for other commands
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-04 10:01:23 -07:00
Takuya ASADA
1ecda511a1
rados: fix usage
2010-08-04 09:51:31 -07:00
Sage Weil
2c7cd49bd9
common: break init into set_defaults and init steps
...
This will let us tweak the default daemon/non-daemon settings as needed,
e.g. in the case of cfuse.
2010-07-01 09:25:43 -07:00
Yehuda Sadeh
027b6c3e6f
rados: more descriptive ls usage failure, stdout set implicitly
2010-06-21 11:43:30 -07:00
Greg Farnum
b58e1b9a4b
rados: update documentation to mention mkpool and rmpool
2010-06-10 14:45:39 -07:00
Greg Farnum
d386327205
rados: print out pool instead of object
2010-06-03 18:22:18 -07:00
Greg Farnum
9dd35584a7
rados: add rollback functionality to rados
2010-05-27 14:31:10 -07:00
Greg Farnum
05256bb030
rados: you can now set the crush rule to use when creating a pool
2010-05-26 16:58:38 -07:00
Greg Farnum
e0315485c0
rados: update documentation to mention mkpool and rmpool
2010-05-19 10:35:28 -07:00
Sage Weil
e741d43fdf
rados: fix typo
2010-05-12 16:13:03 -07:00
Sage Weil
07fdde4b48
rados: add 'tmap dump'
2010-05-12 11:55:17 -07:00
Sage Weil
edc92490b5
types: standardize on uint64_t
...
The problem is that on some platforms __u64 == uint64_t (x86_64), and on
others it's doesn't (ppc64). Which means we don't know whether to define
different versions of overloaded functions for both types or just one.
So, standardize on uint64_t. This plays nicer with STL, which defines
hash<uint64_t> on 64 bit arches but not 32 bit. Which means we can't
standarzie on __u64 or else hash<__u64> won't work. Bah!
2010-05-07 14:50:20 -07:00
Greg Farnum
17d24513e2
rados: check that given pool name actually exists when deleting
2010-04-12 11:20:12 -07:00
Sage Weil
b4c564c7d9
librados: clean up object listing api
2010-04-08 21:49:17 -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
c9cb118330
librados: move librados.h to include/
2010-04-08 09:54:18 -07:00
Sage Weil
75699dbb0f
librados: reduce #includes
2010-04-08 07:42:54 -07:00
Greg Farnum
2860eea272
rados: add interface to change pool owners
2010-03-25 16:18:48 -07:00
Greg Farnum
575d709b26
rados: add undocumented option to specify auid when making pools
2010-03-18 14:47:43 -07:00
Greg Farnum
5bbb3d6e83
rados tool: mkpool/rmpool commands now available
2010-02-16 14:34:44 -08:00
Greg Farnum
60594796cd
rados: fix seg fault on cleanup of a failed pool open
2010-02-16 09:26:55 -08:00
Greg Farnum
a0d3b8f885
rados: change benchmark interface and record objects written/size to osds
2009-12-04 15:54:28 -08:00
Sage Weil
a08d9619d5
rados: move librados.h, rados_bencher.h
...
Also include rados_bencher.h in Makefile.am.
2009-12-04 10:03:49 -08:00
Greg Farnum
bcbafa6d18
rados: Handle errors slightly better
2009-12-01 17:32:38 -08:00
Greg Farnum
e328d28918
rados: Move benchmark functions into separate file
2009-12-01 17:32:38 -08:00
Sage Weil
2e2eaa6b1f
Merge commit 'd00b917143e2afd72851bfd0400b2c2a1f3fc018' into auth
2009-11-18 16:01:20 -08:00
Greg Farnum
30a057cf04
rados: Move array to heap. Prevent segfault when you use too-large a write size
2009-11-18 10:13:56 -08:00
Greg Farnum
ba8aa58197
rados: remove unused paramater, add very primitive read bench in verify step
2009-11-18 10:13:56 -08:00
Greg Farnum
d4db1ec4c5
rados: Cosmetic changes for Sage
2009-11-18 10:13:56 -08:00
Greg Farnum
cfd69fc48e
rados: Update stat calculation and display; change to wait_for_safe
2009-11-17 10:03:11 -08:00
Greg Farnum
f3e746d5e6
rados: status printouts are now threaded
2009-11-13 11:56:42 -08:00
Sage Weil
b5a11130be
Merge branch 'unstable' into auth
2009-11-12 15:23:24 -08:00
Greg Farnum
05fceac381
rados: fix usage() and -p option checking
2009-11-12 14:03:37 -08:00
Yehuda Sadeh
0bdf90da2b
auth: common_init should not always init keys
2009-09-25 16:19:38 -07:00
Sage Weil
71b2ee0f2c
strerror -> strerror_r
2009-09-18 16:17:04 -07:00
Sage Weil
a964888295
rados: statically allocate time
2009-08-10 13:14:30 -07:00
Sage Weil
2e4e434a87
rados: change command line arg
2009-08-10 13:14:30 -07:00
Sage Weil
15ec923e1e
osd: add rd/wr ops/bytes stats to pgs, pools
2009-07-23 11:50:35 -07:00
Sage Weil
54300766d9
rados: cleanup
2009-06-22 20:57:44 -07:00
Greg Farnum
74ceb01289
rados/objecter: Changes to rados in/out, and various things work.
2009-06-22 15:35:36 -07:00
Sage Weil
cd6cbff391
rados: shutdown on exit
2009-06-17 16:35:24 -07:00
Sage Weil
923e9a9d17
rados: fix statfs definition
...
Isolate posix lameness to uclient only. Unify 'rados df' and
'rados dfpools'
2009-06-17 15:51:08 -07:00
Sage Weil
4f0c30be1e
rados: prettify dfpools output
2009-06-17 14:02:30 -07:00
Greg Farnum
1f086d9b63
rados: Now properly writes 0-byte files on a get.
...
There are more debug statements in librados and Objercter too.
2009-06-17 11:23:14 -07:00
Greg Farnum
52a9ea6320
librados: added a write-full method.
...
Switched ./rados to use it for put.
2009-06-16 16:56:47 -07:00
Sage Weil
119c339b83
rados: clean up output a bit
2009-06-16 16:48:18 -07:00
Greg Farnum
ac64f0578a
rados: submit snap creation and removal to the system.
2009-06-16 15:00:24 -07:00
Greg Farnum
a80a0caaee
rados:Added basic df functionality to rados and fixed librados.cc to handle statfs_reply messages
2009-06-12 13:29:47 -07:00
Sage Weil
b4eaf55cd7
rados: rename radostool -> rados
2009-06-12 12:51:11 -07:00