Commit Graph

10590 Commits

Author SHA1 Message Date
Sage Weil
26b67ff83b Makefile: drop unnecessary dist-hook for make_version
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:10:19 -07:00
Sage Weil
2950580556 debian: simplify release.sh
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:10:19 -07:00
Sage Weil
1d45074254 Makefile: distribute check_version
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:10:19 -07:00
Yehuda Sadeh
0f8099a088 radosgw: fix usage syntax
That fixes bug #256.
2010-07-06 10:22:41 -07:00
Sage Weil
b0056ad0c0 mount.ceph: ignore noauto, _netdev options
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-05 11:54:11 -07:00
Fred Ar
b4336250f8 debian: include libcls_rbd.so.*
Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-05 08:59:53 -07:00
Fred Ar
e240a27783 cclsinfo: fixes for dash
Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-05 08:59:46 -07:00
Thomas Mueller
b150b68c91 ceph.spec.in: make -j and unpackaged files
* now that make -j<numprocs> works out of the box, add it to the spec
* added new unpackaged files
* the test binaries get installed with "--without-debug". omitting
"--without-debug" fixes the problem.

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-05 08:51:48 -07:00
Sage Weil
5338e7dce6 Makefile: fix up ceph_ver.h autogeneration
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-04 14:52:53 -07:00
Sage Weil
d724d2cee0 Makefile: fix build when WITH_DEBUG not set
Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-04 14:08:15 -07:00
Sage Weil
0e70f21ac3 debug: don't create rank symlink if log-file
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 21:29:22 -07:00
Sage Weil
d059aa62aa client: update ctime on setattr(no mask)
This makes pjd happy (chown -1 -1 should bump ctime, apparently).  The
kclient does the same trick: dirty any excl caps we have, otherwise do an
mds setattr(ctime) request.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 21:28:56 -07:00
Sage Weil
cf7d180cf4 client: return errors from setattr
Otherwise fuse just gets confused because the stat structure isn't filled
in and generates its own EIO.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 16:47:23 -07:00
Sage Weil
8b886df8f2 client: fix lookup error codes
The fuse glue was making all errors ENOENT, and _lookup didn't return
ENAMETOOLONG.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 16:38:04 -07:00
Sage Weil
377a531a54 client: better debug output
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 16:17:11 -07:00
Sage Weil
adf2f98033 client: return ENAMETOOLONG where appropriate
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 16:17:00 -07:00
Sage Weil
56cc68d125 qa: do untar_snap_rm on two different tarballs (medium and big) 2010-07-02 15:59:36 -07:00
Sage Weil
525063cc28 client: fix f_namemax returned by statfs
This was fixed in the kernel last month.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 15:59:36 -07:00
Sage Weil
e5cef56e3e Makefile: make more random crap only build with WITH_DEBUG
This should be everything not packaged.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 15:13:01 -07:00
Yehuda Sadeh
1b363dde22 rbdtool: implement import
still doesn't use fiemap
2010-07-02 15:28:04 -07:00
Greg Farnum
1cb1c25de4 client: remove typo 2010-07-02 11:59:44 -07:00
Greg Farnum
818e79398f client: synchronize metadata on fsync, when requested. 2010-07-02 11:30:46 -07:00
Yehuda Sadeh
ec2c31d600 rbdtool: cleanup 2010-07-02 11:46:32 -07:00
Sage Weil
da9353e617 osd: cleanup: move pools can into advance_map()
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 11:03:12 -07:00
Sage Weil
d847a4fd3d osd: fix null pg deref, put auid in PGPool, cleanup.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 11:03:11 -07:00
Sage Weil
2170c64ba1 msgr: add config option to set stacksize of reader&writer threads
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 10:14:41 -07:00
Sage Weil
76d23923fc thread: force stacksize to be multiple of page size; clean up
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 10:14:41 -07:00
Paul Chiang
86111a0a52 thread: allow setting stacksize when calling create & check return value of pthread_create
Signed-off-by: Paul Chiang <paul_chiang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 10:14:41 -07:00
Sage Weil
b031d11d20 update authors 2010-07-02 10:14:41 -07:00
Yehuda Sadeh
14a871a110 rbdtool: implement export 2010-07-02 10:03:09 -07:00
Sage Weil
3204f45d4b shift feature supported/required specifications into Policy
This gets it out of the header, and also makes the previous
"my_features & their_features" logic explicit in the Policy definitions.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 09:19:11 -07:00
Sage Weil
3253ed4218 msgr: add set_policy_throttler
This lets us continue to use the helpers.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 08:44:58 -07:00
Sage Weil
efc187e41f ceph.spec.in: remove mkmonfs manpage 2010-07-02 07:59:04 -07:00
Sage Weil
340cb06035 ceph.spec.in: initrddir, not initddir
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 07:59:04 -07:00
Thomas Mueller
7eb12d5e51 ceph.spec.in: some fixes
encountered following errors building an rpm package with the
ceph.spec.in:

RPM build errors:
    File not found: /var/tmp/ceph-0.21~rc-4el5.elefant-root-mockbuild/usr/
bin/mkmonfs
    File must begin with "/": %{_initddir}/ceph
    Installed (but unpackaged) file(s) found:
   /usr/bin/dumpjournal
   /usr/bin/dupstore
   /usr/bin/psim
   /usr/bin/radosacl
   /usr/bin/streamtest
   /usr/bin/test_ioctls
   /usr/bin/test_trans
   /usr/bin/testceph
   /usr/bin/testcrypto
   /usr/bin/testkeys
   /usr/bin/testmsgr
   /usr/bin/testrados
   /usr/bin/testradospp

* mkmonfs - vanished. isn't it used anymore? if so, the man/mkmonfs.8 can
also be removed
* initddir can be ignored as it is centos/rhel specific (it's called
"initrddir")
* added CXXFLAGS to make

Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 07:58:04 -07:00
Sage Weil
9c3fc0ae40 mkmonfs: remove all traces
It's been replaced by 'cmon --mkfs'

Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 07:57:16 -07:00
Sage Weil
e63d3f741f mount.ceph: add mount options/flags
noatime, nodiratime, relatime.  Some cleanup.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 07:49:23 -07:00
Sage Weil
9be976259a Makefile: add/fix ceph_ver.h dependencies
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 07:33:57 -07:00
Sage Weil
89a65548bd filejournal: make journal alignment max of block, page sizes
Alignment must be a multiple of page size.  At least currently.
2010-07-01 16:48:26 -07:00
Sage Weil
67b9fa6147 ceph: fix decoding of class incrementals 2010-07-01 15:46:33 -07:00
Sage Weil
9154b5fc10 msgr: handle ipv4 or ipv6 addresses (untested)
At some point we may want to bind to both v4 and v6 addrs.  Later!

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-01 15:46:33 -07:00
Yehuda Sadeh
640eaad433 osd: caps configuration file uses pool names
pool names instead of pool ids
2010-07-01 15:19:36 -07:00
Yehuda Sadeh
c6969f1216 vstart.sh: added -c to the cclass execution 2010-07-01 15:19:36 -07:00
Yehuda Sadeh
91088587b5 osd, class: introduce public class methods
public class methods don't need exec permissions in order to execute
2010-07-01 15:19:36 -07:00
Yehuda Sadeh
ece7098f34 osd: pgpool keeps pool name 2010-07-01 15:19:36 -07:00
Yehuda Sadeh
a08c6f7645 osd: modify caps calculation 2010-07-01 15:19:36 -07:00
Sage Weil
ed02afdf79 cfuse: log_per_instance by default
e.g., if run with --log-to-stdout=0,

lrwxrwxrwx  1 sage sage        11 Jul  1 14:22 cfuse4173 -> fatty.31362
2010-07-01 14:29:13 -07:00
Sage Weil
c2debcc623 man: install cclass, cclsinfo man pages; include in ceph.deb 2010-07-01 14:29:13 -07:00
Sage Weil
57aeed1fde debian: add logrotate.d/ceph 2010-07-01 14:29:13 -07:00
Paul Chiang
0233257bfe Makefile: link ssl to libceph
Signed-off-by: Paul Chiang <paul_chiang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-01 14:29:13 -07:00