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
Paul Chiang
7e5e519ae6
libceph: Add check before umount in deinitialize
...
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
CC Lien
139e82094c
hostname override option for ceph init script
2010-07-01 14:29:13 -07:00
Henry C Chang
10476adaea
buffer: fix logic in write_fd()
...
Reset iovec after finishing writev operation.
This bug occurs when buffer list size is larger than IOV_MAX.
2010-07-01 14:29:13 -07:00
Sage Weil
e006e7951a
msgr: fix dispatch throttler release
...
We need to release the same amount back to the throttler as we originally
reserved. Store that amount in the Message, and catch all the error
paths. This fixes the case where messages get fed back into dispatch
locally (i.e. not via read_message()).
2010-07-01 12:46:18 -07:00
Sage Weil
bbbf24068f
cfuse: daemonize by default
...
We have to fork, then start client, to avoid killing our pthreads. Use
a socketpair to tell the parent process about mount success/failure.
2010-07-01 11:15:39 -07:00
Sage Weil
a7d4987f3a
config: -f just means foreground; do not change log output
...
Before it would set log_to_stdout = false, but the default might be true.
2010-07-01 11:01:18 -07:00
Sage Weil
21432ec8ef
client: start/stop objectcacher thread in init/shutdown, not constructor
2010-07-01 10:57:21 -07:00
Sage Weil
e38ed5192b
config: disallow -d|--daemonize
...
Either we can daemonize, and do that by default, or we can't, and
shouldn't, even if you pass -d.
2010-07-01 09:33:02 -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
Sage Weil
8043ee277c
debug: fixup
2010-07-01 09:10:41 -07:00
Sage Weil
85e626d178
common: disable logger by default; make daemon settings explicit in (3) callers
2010-07-01 08:55:52 -07:00
Sage Weil
c2538732d2
debug: add max count for name symlinks
2010-07-01 08:47:35 -07:00
Sage Weil
633af0453d
vstart: normalize pid file names
2010-07-01 08:47:35 -07:00