]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Fri, 12 Feb 2010 00:10:26 +0000 (16:10 -0800)]
mkcephfs: fix up permissions, ownership on temp keyrings
Sage Weil [Thu, 11 Feb 2010 23:37:27 +0000 (15:37 -0800)]
ceph_common: sudo su, not su
Sage Weil [Thu, 11 Feb 2010 23:32:45 +0000 (15:32 -0800)]
mkcephfs: always clobber, since we don't support not clobbering anyway
Sage Weil [Thu, 11 Feb 2010 23:31:40 +0000 (15:31 -0800)]
mkmonfs: require '-c conf' to avoid accidents; stash admin keyring
Sage Weil [Thu, 11 Feb 2010 23:31:14 +0000 (15:31 -0800)]
cauthtool: mode 0600 for keyrings
Sage Weil [Thu, 11 Feb 2010 23:21:27 +0000 (15:21 -0800)]
mkcephfs: put admin keyring in mon_data, for safe keeping
Sage Weil [Thu, 11 Feb 2010 23:21:14 +0000 (15:21 -0800)]
mkcephfs: --clobber, not --clobber_old_data
Sage Weil [Thu, 11 Feb 2010 21:32:42 +0000 (13:32 -0800)]
qa: +x snaptest1.sh
Sage Weil [Thu, 11 Feb 2010 23:11:23 +0000 (15:11 -0800)]
objectcacher: use ObjectSet container instead of inodeno_t hash_maps
Caller provides an ObjectSet* to group objects into.
Later we can put other info here, like truncate_seq and
truncate_size.
Sage Weil [Thu, 11 Feb 2010 19:39:06 +0000 (11:39 -0800)]
cephx: adjust auth ticket renewal encoding a bit
This simplifies the code slightly, esp in the kclient.
Sage Weil [Thu, 11 Feb 2010 18:36:45 +0000 (10:36 -0800)]
qa: fix up runallonce.sh
Sage Weil [Thu, 11 Feb 2010 18:36:38 +0000 (10:36 -0800)]
debian: fix init script hackery
Copy src/init-ceph to debian/ceph.init _after_ we make, so that
the autoconf paths are substituted in properly.
Sage Weil [Thu, 11 Feb 2010 18:03:06 +0000 (10:03 -0800)]
todo
Sage Weil [Thu, 11 Feb 2010 17:25:59 +0000 (09:25 -0800)]
mon: print caps to debug log
Sage Weil [Thu, 11 Feb 2010 17:25:15 +0000 (09:25 -0800)]
cephx: nicer debug output in service handler
Sage Weil [Thu, 11 Feb 2010 17:24:42 +0000 (09:24 -0800)]
cephx: use 'next' key for ticketes when 'current' is expired
When generating tickets for clients, use next key if the current
is expired. That ensures they will renew before their ticket
times out.
Sage Weil [Thu, 11 Feb 2010 17:06:18 +0000 (09:06 -0800)]
csyn: print something on mount failure
Sage Weil [Thu, 11 Feb 2010 17:04:25 +0000 (09:04 -0800)]
cephx: return expires service keys from rotatingkeyring
Otherwise there's no point in keeping around old service tickets.
To prevent really old tickets from working, we need to rotate
keys. We want slightly old ones to still work, though.. that's
why we keep 3.
Sage Weil [Thu, 11 Feb 2010 17:00:10 +0000 (09:00 -0800)]
cephx: fix negotiation on reconnect
Don't send another request after initial handshake if we don't
need an auth ticket.
Sage Weil [Thu, 11 Feb 2010 15:54:12 +0000 (07:54 -0800)]
monclient: renew service tickets a bit after the current expires
This ensures the monitor will actually ahve generated a newer
one to give us, avoiding a busy loop.
Yehuda Sadeh [Thu, 11 Feb 2010 01:17:45 +0000 (17:17 -0800)]
osd: don't update object size if didn't write anything
Sage Weil [Wed, 10 Feb 2010 22:51:18 +0000 (14:51 -0800)]
cmon: suggest mkcephfs when 'whoami' not in monfs
Sage Weil [Wed, 10 Feb 2010 22:51:08 +0000 (14:51 -0800)]
cephx: fix up key rotation
Sage Weil [Wed, 10 Feb 2010 19:57:04 +0000 (11:57 -0800)]
cephx: nicer keyserver debug output
Yehuda Sadeh [Wed, 10 Feb 2010 22:34:09 +0000 (14:34 -0800)]
osd: write op updates trancation sequence if not already set
Greg Farnum [Wed, 10 Feb 2010 20:02:42 +0000 (12:02 -0800)]
msgr: Update 'documentation'.
Sage Weil [Wed, 10 Feb 2010 19:33:23 +0000 (11:33 -0800)]
init-ceph, mkcephfs: fix ETCDIR
Sage Weil [Tue, 9 Feb 2010 18:03:12 +0000 (10:03 -0800)]
mds: behave when we pipeline session updates to journal
Greg Farnum [Wed, 10 Feb 2010 00:26:18 +0000 (16:26 -0800)]
msg: union sockaddr_storage to hush strict aliasing warnings and clean up code
Sage Weil [Tue, 9 Feb 2010 18:27:08 +0000 (10:27 -0800)]
init-ceph: Required-start: $remote_fs
This ensures /usr is mounted before ceph daemons start. It seems like
this may be problematic for hosts that act as both servers and clients,
but nfs-kernel-server does the same, so whatev!
Sage Weil [Tue, 9 Feb 2010 18:20:20 +0000 (10:20 -0800)]
debian: do not include var/run/ceph in package; mkdir -p dirname unconditionally
Sage Weil [Tue, 9 Feb 2010 18:19:57 +0000 (10:19 -0800)]
rados man page; include rados in ceph package
Sage Weil [Tue, 9 Feb 2010 18:14:13 +0000 (10:14 -0800)]
debian: include cauthtool
Sage Weil [Tue, 9 Feb 2010 18:14:04 +0000 (10:14 -0800)]
rename authtool -> cauthtool
Sage Weil [Tue, 9 Feb 2010 17:58:54 +0000 (09:58 -0800)]
mutex: fix file mode
Sage Weil [Tue, 9 Feb 2010 16:24:57 +0000 (08:24 -0800)]
debian: fixups to build inside pbuilder
Josef Bacik [Tue, 9 Feb 2010 16:24:23 +0000 (08:24 -0800)]
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>
Sage Weil [Tue, 9 Feb 2010 16:08:12 +0000 (08:08 -0800)]
osd: count objects degraded due to degraded pg
Sage Weil [Tue, 9 Feb 2010 16:06:35 +0000 (08:06 -0800)]
osd: prevent do_waiters() while _dispatch() is running
Fixes race between handle_osd_map and tick() requeuing ops.
Sage Weil [Mon, 8 Feb 2010 19:15:03 +0000 (11:15 -0800)]
ceph: wait for monmap
Sage Weil [Tue, 9 Feb 2010 04:29:09 +0000 (20:29 -0800)]
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.
Sage Weil [Mon, 8 Feb 2010 20:47:17 +0000 (12:47 -0800)]
osd: print truncate_size signed, and only print at all if _seq > 0
Sage Weil [Mon, 8 Feb 2010 18:27:27 +0000 (10:27 -0800)]
debian: updated debian build scripts, changelog
Sage Weil [Mon, 8 Feb 2010 17:57:17 +0000 (09:57 -0800)]
mkcephfs: warn on missing keyring for mds, osd
Sage Weil [Mon, 8 Feb 2010 17:57:05 +0000 (09:57 -0800)]
authtool: add -a/--add-key command
Sage Weil [Mon, 8 Feb 2010 17:56:41 +0000 (09:56 -0800)]
buffer: add decode_base64 method
Sage Weil [Mon, 8 Feb 2010 17:44:33 +0000 (09:44 -0800)]
cephx: pipe down about ticket renewals
Sage Weil [Sat, 6 Feb 2010 19:29:39 +0000 (11:29 -0800)]
osd, mds: don't time out authenticate()
Still need to fix wait_auth_rotating....
Sage Weil [Sat, 6 Feb 2010 19:19:39 +0000 (11:19 -0800)]
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.
Sage Weil [Sat, 6 Feb 2010 19:18:51 +0000 (11:18 -0800)]
ceph: error out on authentication failure
asdf
Sage Weil [Sat, 6 Feb 2010 19:27:17 +0000 (11:27 -0800)]
monc: fix authentication timeout
Sage Weil [Sat, 6 Feb 2010 19:18:38 +0000 (11:18 -0800)]
monclient: kill unused wait_authenticate()
Sage Weil [Sat, 6 Feb 2010 18:39:21 +0000 (10:39 -0800)]
objectstore: include struct_v for Transaction
Sage Weil [Fri, 5 Feb 2010 22:16:48 +0000 (14:16 -0800)]
authtool: only create keyring if --create-keyring (or -c)
Sage Weil [Fri, 5 Feb 2010 22:05:03 +0000 (14:05 -0800)]
mkcephfs: misc cephx fixes
Sage Weil [Fri, 5 Feb 2010 22:11:39 +0000 (14:11 -0800)]
debian: fix builder; add newish headers to Makefile.am
Sage Weil [Fri, 5 Feb 2010 17:42:00 +0000 (09:42 -0800)]
spinlock: make lockdep optional; off by default
Spinlock tend to be inner locks; not much value in lockdep checking on
them.
Sage Weil [Fri, 5 Feb 2010 00:18:43 +0000 (16:18 -0800)]
osd: add uid to ceph_pg_pool; move encoding versions of rados.h
Sage Weil [Thu, 4 Feb 2010 22:35:21 +0000 (14:35 -0800)]
monclient: return authetnication error
Sage Weil [Thu, 4 Feb 2010 22:24:23 +0000 (14:24 -0800)]
auth: tolerate bad authenticator replies (retry instead of crashing)
Sage Weil [Thu, 4 Feb 2010 21:49:42 +0000 (13:49 -0800)]
mkcephfs: no scp -v
Sage Weil [Thu, 4 Feb 2010 21:48:23 +0000 (13:48 -0800)]
auth: fix KeyStore interface
Sage Weil [Thu, 4 Feb 2010 19:03:27 +0000 (11:03 -0800)]
auth: simplify KeyRing map type, authmon add/importing
Sage Weil [Thu, 4 Feb 2010 18:45:42 +0000 (10:45 -0800)]
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.
Sage Weil [Thu, 4 Feb 2010 17:31:30 +0000 (09:31 -0800)]
cephx: add struct_v throughout. some cleanup.
Sage Weil [Thu, 4 Feb 2010 00:39:54 +0000 (16:39 -0800)]
mkcephfs: generate cephx keys during mkfs
Sage Weil [Thu, 4 Feb 2010 00:12:17 +0000 (16:12 -0800)]
auth: use KeyRing encode/decode
Sage Weil [Wed, 3 Feb 2010 21:03:12 +0000 (13:03 -0800)]
todo
Yehuda Sadeh [Wed, 3 Feb 2010 23:54:32 +0000 (15:54 -0800)]
mount: set flags when getting -o sync
Sage Weil [Wed, 3 Feb 2010 20:50:41 +0000 (12:50 -0800)]
mds: fix dumpcache
Sage Weil [Tue, 2 Feb 2010 23:45:33 +0000 (15:45 -0800)]
authtool: only create keyring if --create-keyring (or -c)
Sage Weil [Wed, 3 Feb 2010 19:56:06 +0000 (11:56 -0800)]
config: rename 'keys file' to 'keyring'
Sage Weil [Wed, 3 Feb 2010 19:31:30 +0000 (11:31 -0800)]
journal: make sure max_size is multiple of block_size
Sage Weil [Wed, 3 Feb 2010 18:30:03 +0000 (10:30 -0800)]
mds: print setattr'd values with MClientRequest
Sage Weil [Wed, 3 Feb 2010 18:28:01 +0000 (10:28 -0800)]
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.
Sage Weil [Tue, 2 Feb 2010 18:56:14 +0000 (10:56 -0800)]
mds: dump_cache even when debug_mds < 2
Make output more readable.
Sage Weil [Tue, 2 Feb 2010 00:24:37 +0000 (16:24 -0800)]
journal: allow journal seq #'s to jump
This happens when the regular store commits and we throw out now useless
journal entries.
Sage Weil [Mon, 1 Feb 2010 23:44:26 +0000 (15:44 -0800)]
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.
Yehuda Sadeh [Tue, 2 Feb 2010 00:10:04 +0000 (16:10 -0800)]
osd: increase osdc protocol number
Yehuda Sadeh [Tue, 2 Feb 2010 00:03:51 +0000 (16:03 -0800)]
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.
Yehuda Sadeh [Tue, 2 Feb 2010 00:02:01 +0000 (16:02 -0800)]
truncate: initialize truncate_seq, truncate_size
Yehuda Sadeh [Fri, 29 Jan 2010 19:41:42 +0000 (11:41 -0800)]
truncate: truncate information sent on each read/write op
This fixes cases in which preceding client read/write ops arrive the
osd after a later truncation that arrived through the mds
Sage Weil [Mon, 1 Feb 2010 22:53:41 +0000 (14:53 -0800)]
osd: quiet down about request perms
Sage Weil [Mon, 1 Feb 2010 22:27:10 +0000 (14:27 -0800)]
librados: guard against double-release; clean up ref counting
Sage Weil [Mon, 1 Feb 2010 22:24:23 +0000 (14:24 -0800)]
rados: fix delete[] vs delete
Sage Weil [Mon, 1 Feb 2010 22:24:08 +0000 (14:24 -0800)]
lockdep: fix use after free; avoid register in unlocked() path
Sage Weil [Mon, 1 Feb 2010 21:41:21 +0000 (13:41 -0800)]
uclient: fix uninitialized var
Sage Weil [Mon, 1 Feb 2010 19:57:47 +0000 (11:57 -0800)]
journal: sync_file_range on bdev, fdatasync on file
Sage Weil [Mon, 1 Feb 2010 19:56:01 +0000 (11:56 -0800)]
journal: warn if we detect disk write cache is on
Sage Weil [Mon, 1 Feb 2010 19:24:02 +0000 (11:24 -0800)]
journal: align (by default) even when !directio; directio by default; log latency
Sage Weil [Sat, 30 Jan 2010 00:34:17 +0000 (16:34 -0800)]
journal: group entries into single io in directio mode
Sage Weil [Mon, 1 Feb 2010 21:34:09 +0000 (13:34 -0800)]
mon: fix auth restart decoding
Sage Weil [Mon, 1 Feb 2010 21:34:16 +0000 (13:34 -0800)]
mon: fix osd tell *
Sage Weil [Sat, 30 Jan 2010 00:37:30 +0000 (16:37 -0800)]
mount: fix compile errors
Greg Farnum [Fri, 29 Jan 2010 23:48:02 +0000 (15:48 -0800)]
TODO: mark bugs completed
Greg Farnum [Fri, 29 Jan 2010 23:01:53 +0000 (15:01 -0800)]
mount: canonicalize path name for mtab
Greg Farnum [Fri, 29 Jan 2010 21:05:44 +0000 (13:05 -0800)]
mon: possible fix for rare problem where osd boot messages are double-logged.
From Sage.
Greg Farnum [Fri, 29 Jan 2010 21:02:14 +0000 (13:02 -0800)]
mon: don't delete all laggy mds beacons, just the one's you've replaced
Greg Farnum [Fri, 29 Jan 2010 18:15:48 +0000 (10:15 -0800)]
mon: print out proper address in debug log
Greg Farnum [Thu, 28 Jan 2010 20:21:46 +0000 (12:21 -0800)]
mds: unify two if blocks with identical checks