Commit Graph

9177 Commits

Author SHA1 Message Date
Sage Weil
469d089bec debian: do not include var/run/ceph in package; mkdir -p dirname unconditionally 2010-02-09 12:28:25 -08:00
Sage Weil
2d745bc517 rados man page; include rados in ceph package 2010-02-09 12:28:14 -08:00
Sage Weil
789d702687 debian: include cauthtool 2010-02-09 12:28:07 -08:00
Sage Weil
c77dd333c5 rename authtool -> cauthtool 2010-02-09 10:14:04 -08:00
Sage Weil
c77b536b07 mutex: fix file mode 2010-02-09 09:58:54 -08:00
Sage Weil
b06b232540 debian: fixups to build inside pbuilder 2010-02-09 08:24:57 -08:00
Josef Bacik
270a7bdd94 ceph: fix manpages so they are only installed once
While creating a spec file for CEPH, rpmbuild was complaining because make
install was copying the manpages in, and then copying them in again.  This is
because man_MANS and dist_man_MANS are supposed to be two seperate lists that do
not overlap.  So make install would install all the man pages in the man_MANS
list and the dist_man_MANS list.  This patch kills the dist_man_MANS thing to
keep this from happening.  This made rpmbuild happy, which makes me happy :).
Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
2010-02-09 08:24:41 -08:00
Sage Weil
0ef0ab4b45 osd: count objects degraded due to degraded pg 2010-02-09 08:15:20 -08:00
Sage Weil
62a0e4bb98 osd: prevent do_waiters() while _dispatch() is running
Fixes race between handle_osd_map and tick() requeuing ops.
2010-02-09 08:15:20 -08:00
Sage Weil
4a8d1ecdbf ceph: wait for monmap 2010-02-09 08:15:20 -08:00
Sage Weil
c91716edee osd: store local osd magic, whoami, and other static bits outside of ObjectStore
These values are immutable, and we also want to look at them prior to
forking and 'mounting' the ObjectStore.  Just keep them in separate files
for simplicity.

This avoids the double filestore startup cost paid on cosd startup.
2010-02-08 20:29:09 -08:00
Sage Weil
73cc468312 osd: print truncate_size signed, and only print at all if _seq > 0 2010-02-08 12:47:17 -08:00
Sage Weil
0f42df4685 debian: updated debian build scripts, changelog 2010-02-08 10:27:49 -08:00
Sage Weil
d87f66d79c mkcephfs: warn on missing keyring for mds, osd 2010-02-08 10:04:18 -08:00
Sage Weil
4b3c3d31fe authtool: add -a/--add-key command 2010-02-08 10:04:16 -08:00
Sage Weil
a23cdb0e1c buffer: add decode_base64 method 2010-02-08 10:04:14 -08:00
Sage Weil
dbcb325e68 cephx: pipe down about ticket renewals 2010-02-08 10:04:11 -08:00
Sage Weil
fdbd893f6a osd, mds: don't time out authenticate()
Still need to fix wait_auth_rotating....
2010-02-06 11:29:39 -08:00
Sage Weil
2ec2d579cb filejournal: make io contiguous in write_bl() for directio
Previously we were splitting the io for writing the header plus first
segment following a wrap.
2010-02-06 11:29:13 -08:00
Sage Weil
d289ea0e62 ceph: error out on authentication failure
asdf
2010-02-06 11:29:09 -08:00
Sage Weil
82afbb6003 monc: fix authentication timeout 2010-02-06 11:27:41 -08:00
Sage Weil
26eb29d39f monclient: kill unused wait_authenticate() 2010-02-06 11:18:38 -08:00
Sage Weil
29d5dd671d objectstore: include struct_v for Transaction 2010-02-06 10:39:21 -08:00
Sage Weil
f668ce95ab authtool: only create keyring if --create-keyring (or -c) 2010-02-05 14:16:48 -08:00
Sage Weil
0a6e4ed38a mkcephfs: misc cephx fixes 2010-02-05 14:11:49 -08:00
Sage Weil
c76ea9de70 debian: fix builder; add newish headers to Makefile.am 2010-02-05 14:11:39 -08:00
Sage Weil
496d764276 spinlock: make lockdep optional; off by default
Spinlock tend to be inner locks; not much value in lockdep checking on
them.
2010-02-05 09:42:00 -08:00
Sage Weil
147c6f51e3 osd: add uid to ceph_pg_pool; move encoding versions of rados.h 2010-02-04 16:18:43 -08:00
Sage Weil
213bd01002 monclient: return authetnication error 2010-02-04 14:35:21 -08:00
Sage Weil
035389a4c5 auth: tolerate bad authenticator replies (retry instead of crashing) 2010-02-04 14:24:23 -08:00
Sage Weil
91bf3e3cc9 mkcephfs: no scp -v 2010-02-04 13:49:42 -08:00
Sage Weil
dfc1b1115b auth: fix KeyStore interface 2010-02-04 13:48:23 -08:00
Sage Weil
53c0abc91b auth: simplify KeyRing map type, authmon add/importing 2010-02-04 11:03:27 -08:00
Sage Weil
7761ad97e6 cephx: separate KeyRing and RotatingKeyRing
KeyRing stores keys (on disk).

RotatingKeyRing mediates access to the in-memory pool of rotating secrets
for a single service.
2010-02-04 10:45:42 -08:00
Sage Weil
bee7be2f82 cephx: add struct_v throughout. some cleanup. 2010-02-04 09:31:30 -08:00
Sage Weil
ba515fe62a mkcephfs: generate cephx keys during mkfs 2010-02-03 16:40:16 -08:00
Sage Weil
40b90220c2 auth: use KeyRing encode/decode 2010-02-03 16:40:16 -08:00
Sage Weil
0b9f40ee7c todo 2010-02-03 16:40:16 -08:00
Yehuda Sadeh
329178d841 mount: set flags when getting -o sync 2010-02-03 15:55:19 -08:00
Sage Weil
6ea303014e mds: fix dumpcache 2010-02-03 12:50:41 -08:00
Sage Weil
6285b61d91 authtool: only create keyring if --create-keyring (or -c) 2010-02-03 11:58:40 -08:00
Sage Weil
f40957ebc3 config: rename 'keys file' to 'keyring' 2010-02-03 11:56:06 -08:00
Sage Weil
5bdb348788 journal: make sure max_size is multiple of block_size 2010-02-03 11:31:30 -08:00
Sage Weil
54898b3222 mds: print setattr'd values with MClientRequest 2010-02-03 10:30:03 -08:00
Sage Weil
0fcd68b1d6 mds: only set smaller flag in setattr completion if actually truncating
Otherwise we can erroneously trigger the truncation code when another
setattr overlaps with an in-progress truncate.
2010-02-03 10:29:21 -08:00
Sage Weil
24747836fe mds: dump_cache even when debug_mds < 2
Make output more readable.
2010-02-02 11:00:32 -08:00
Sage Weil
3642c2b229 journal: allow journal seq #'s to jump
This happens when the regular store commits and we throw out now useless
journal entries.
2010-02-02 11:00:32 -08:00
Sage Weil
f46b1b473f journal: make wrapping simpler
Take out weirdness that tries to keep journal items contiguous.  No reason
not to split them across the end/beginning of the journal.  In the general
case, this is the same # of seeks because we have to rewrite the header
anyway.
2010-02-02 11:00:32 -08:00
Yehuda Sadeh
99e316fbe1 osd: increase osdc protocol number 2010-02-01 16:14:05 -08:00
Yehuda Sadeh
e72cc233ec truncate: don't write beyong truncation with old trunc seq
In a scenario where a truncation that followed a write got to
the osd before the preceding write, we shouldn't write beyond
that truncation when the write is handled in the osd.
2010-02-01 16:14:05 -08:00