]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Josh Durgin [Fri, 9 Sep 2011 21:47:42 +0000 (14:47 -0700)]
workunit: use sudo when first reading /sys... too
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Greg Farnum [Fri, 9 Sep 2011 20:41:14 +0000 (13:41 -0700)]
workunit: and delete root-owned file
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Fri, 9 Sep 2011 20:32:21 +0000 (13:32 -0700)]
workunit: you need sudo to look at /sys/kernel/debug
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Fri, 9 Sep 2011 19:14:25 +0000 (12:14 -0700)]
Merge branch 'wip-leaks'
Yehuda Sadeh [Fri, 9 Sep 2011 19:15:10 +0000 (12:15 -0700)]
rgw: rgw_admin, init gen_secret, gen_key
Sage Weil [Fri, 9 Sep 2011 16:05:43 +0000 (09:05 -0700)]
debian: no /var/run!
Signed-off-by: Sage Weil <sage@newdream.net>
Samuel Just [Fri, 9 Sep 2011 00:50:39 +0000 (17:50 -0700)]
PG.h: Initialize invalid_hash in Entry()
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Sage Weil [Thu, 8 Sep 2011 22:03:29 +0000 (15:03 -0700)]
debian: create var/run/ceph
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 8 Sep 2011 22:03:21 +0000 (15:03 -0700)]
debian: radosgw: add dirs to package
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 8 Sep 2011 19:48:00 +0000 (12:48 -0700)]
ceph: avoid noise when there is no output
Signed-off-by: Sage Weil <sage@newdream.net>
Samuel Just [Thu, 8 Sep 2011 21:52:54 +0000 (14:52 -0700)]
OSD: reset filestore_update_collections to false after do_convertfs
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Thu, 8 Sep 2011 21:51:02 +0000 (14:51 -0700)]
object.h: initalize hobject_t correctly
key previously was erroneously initialized to soid.oid.name in one
constructor.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Greg Farnum [Thu, 8 Sep 2011 20:27:19 +0000 (13:27 -0700)]
workunits: make file_layout.sh more robust
We don't have a great way to guarantee mdsmap updates, but they
should happen on their own and we can loop. Closes #1518.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Tommi Virtanen [Thu, 8 Sep 2011 19:59:05 +0000 (12:59 -0700)]
rpm: Include ceph.spec in release tarball.
This lets users say "rpmbuild -ta ceph-XXX.tgz".
Closes: #1521
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Thu, 8 Sep 2011 19:45:15 +0000 (12:45 -0700)]
rpm: Create the /etc/ceph directory.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Thu, 8 Sep 2011 19:30:37 +0000 (12:30 -0700)]
rpm: Add newly-added files to %files.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Thu, 8 Sep 2011 19:30:05 +0000 (12:30 -0700)]
rpm: Build without tcmalloc, by default.
You can still say "rpmbuild -ba --with tcmalloc ceph.spec"
if you have it.
Add BuildRequires on google-perftools when building with tcmalloc.
Ensure it's the right architecture.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Sage Weil [Thu, 8 Sep 2011 17:59:41 +0000 (10:59 -0700)]
ceph: -o - to stdout, not stderr
Don't guess fd numbers.
Signed-off-by: Sage Weil <sage@newdream.net>
Greg Farnum [Thu, 8 Sep 2011 17:51:46 +0000 (10:51 -0700)]
Merge branch 'master' into wip-leaks
Greg Farnum [Thu, 8 Sep 2011 16:51:35 +0000 (09:51 -0700)]
Merge branch 'master' of ceph.newdream.net:/git/ceph
Greg Farnum [Thu, 8 Sep 2011 16:50:00 +0000 (09:50 -0700)]
mon: Clean up MonSession/Connection leak on MForwards
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Thu, 8 Sep 2011 16:49:33 +0000 (09:49 -0700)]
osd: Clean up PG leak
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Thu, 8 Sep 2011 16:49:11 +0000 (09:49 -0700)]
osd: clean up leak on old/unneeded peering messages
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Wed, 7 Sep 2011 22:39:53 +0000 (15:39 -0700)]
osd: Sessions get weak pointers to Connections
We were previously setting up a reference loop. But the only way
to get Sessions is via the Connection, so let's just give Sessions
the pointer, and give Connections a counted ref.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Wed, 7 Sep 2011 15:37:17 +0000 (08:37 -0700)]
filestore: free fiemap used for testing fs capabilities
No more memory leak!
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Tue, 6 Sep 2011 20:59:14 +0000 (13:59 -0700)]
WorkQueue: don't deliberately leak memory
We can't do that if we're trying to be Valgrind-clean, so just
make the lock name part of the class.
As best I can tell, that ordered initialization is safe because
data members are initialized in the order they are declared. See eg
http://xenon.arcticus.com/c-morsels-initializer-list-execution-order
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Thu, 8 Sep 2011 04:07:54 +0000 (21:07 -0700)]
ceph: clean up command output
Open + truncate output file _once_, and concatenate output of each command
to that fd.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 7 Sep 2011 23:51:15 +0000 (16:51 -0700)]
client: some debugging
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 7 Sep 2011 23:50:29 +0000 (16:50 -0700)]
client: fix leaked Dir on rename
Need to close old_dentry->dir if the dir is empty. This was introduced by
ed7ebf35b124a236b88a478c33db82f015a8d4a4 .
Fixes: #1509
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 7 Sep 2011 23:06:01 +0000 (16:06 -0700)]
client: clean up Inode ref counts slightly
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Samuel Just [Wed, 7 Sep 2011 23:29:25 +0000 (16:29 -0700)]
OSD: info.pgid gets removed from creating_pgs before _create_lock_new_pg
Fix bug introduced in
cd2716c4151f5c0996bb4d0cf08961f8da281dac .
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Sage Weil [Wed, 7 Sep 2011 22:48:05 +0000 (15:48 -0700)]
rbd: --size is megabytes, not bytes
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 7 Sep 2011 20:28:21 +0000 (13:28 -0700)]
osd: take ondisk_read_lock on src_oids
We need to take the ondisk read lock on src oids for multiobject operations
(like clonerange) to ensure that written data has hit disk before we
clone it elsewhere.
Order of acquisition doesn't actually matter here, since the ondisk locks
are all leaves in the lock dependency hierarchy.
Signed-off-by: Sage Weil <sage@newdream.net>
Samuel Just [Wed, 7 Sep 2011 21:25:02 +0000 (14:25 -0700)]
object.h: make hobject key private, prevent objects where key == oid
There should be no difference between an object with a key identical to
its name and an object with the same name but no key.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Yehuda Sadeh [Wed, 7 Sep 2011 17:36:37 +0000 (10:36 -0700)]
rgw: make loop exit case explicit, removes warning
Sage Weil [Wed, 7 Sep 2011 17:23:39 +0000 (10:23 -0700)]
README: update a bit
Signed-off-by: Sage Weil <sage@newdream.net>
Samuel Just [Wed, 7 Sep 2011 17:13:36 +0000 (10:13 -0700)]
IndexManager: delete index during RemoveOnDelete
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Wed, 7 Sep 2011 16:59:15 +0000 (09:59 -0700)]
OSD: use creating_pgs[pgid].history in get_or_create_pg for new pg
If info.pgid is in creating_pgs, we should use the history from
creating_pgs. The history passed in will be an empty history from a
creation probe in that case.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Sage Weil [Wed, 7 Sep 2011 16:48:35 +0000 (09:48 -0700)]
client: add inode on IMPORT
If we get an IMPORT and don't have the inode, add it. This fixes a race
like:
mds0 -> client .. mknod reply (or similar)
mds0 -> mds1 .. migrate cap
mds1 -> client .. send IMPORT
client <- mds1 .. rx IMPORT, but don't have inode
client <- mds0 .. rx mknod reply, add it.
With this fix, we add the inode and set up the cap on IMPORT, and when we
get the mknod reply we update the inode immutable fields that aren't
present in the cap message (rdev, symlink target).
Fixes: #1513
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 7 Sep 2011 16:39:53 +0000 (09:39 -0700)]
client: factor out flush_cap_releases() helper
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 1 Sep 2011 23:32:24 +0000 (16:32 -0700)]
mds: bracket LOCK|AUTH -> PREXLOCK transition with start/finish_locking
Unlike other lock transitions, we are moving to an _unstable_ state and
then taking our (x)lock. That means that if we don't actually finish for
some reason (lock order changes, request is canceled, whatever) we leave
things in an unstable state--in this case, PREXLOCK, where nothing else
will touch it.
Call cancel_lock in drop_locks (or in acquire_locks when the order changes)
to clean up after an aborted lock attempt.
Original but reproduced (though not easily) by multimds collection task
fsstress_thrash_subtrees.yaml.
Fixes: #1425
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 1 Sep 2011 23:28:42 +0000 (16:28 -0700)]
mds: _finish_xlock helper
Factor out _finish_xlock helper to move from XLOCKDONE (or, later,
PREXLOCK) to a non-xlock state.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 1 Sep 2011 23:27:49 +0000 (16:27 -0700)]
mds: mutation: add start/finish locking hooks
Keep track of which lock we are currently working on locking in the
Mutation. Use helpers to make sure we start/finish locking in a sane
way.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Thu, 1 Sep 2011 21:56:48 +0000 (14:56 -0700)]
mds: move Mutation + children out of MDCache.h
Uninline while we're at it.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Wed, 7 Sep 2011 05:07:33 +0000 (22:07 -0700)]
librbd: {remove,resize,snap_rollback}_with_progress
C and C++ APIs. Mirrors the copy_with_progress addition.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 7 Sep 2011 04:49:06 +0000 (21:49 -0700)]
mon: log when we get an error
...before we assert(!err).
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Brian Chrisman [Wed, 7 Sep 2011 04:08:47 +0000 (21:08 -0700)]
ceph.spec: spec file should be creating /var/run/ceph
Signed-off-by: Brian Chrisman <brchrisman@gmail.com>
Jim Schutt [Wed, 7 Sep 2011 04:05:38 +0000 (21:05 -0700)]
osd: nss build of OSD.cc needs CRYPTO_CXXFLAGS since
nss build fails like this:
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. \
-D__KERNEL_STRICT_NAMES -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT \
-D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -rdynamic -Winit-self \
-Wpointer-arith -fno-strict-aliasing -Wnon-virtual-dtor -Wno-invalid-offsetof \
-Wstrict-null-sentinel -g -MT OSD.lo -MD -MP -MF ".deps/OSD.Tpo" -c -o OSD.lo `test \
-f 'osd/OSD.cc' || echo './'`osd/OSD.cc; \
then mv -f ".deps/OSD.Tpo" ".deps/OSD.Plo"; else rm -f ".deps/OSD.Tpo"; exit \
1; fi g++ -DHAVE_CONFIG_H -I. -I. -I. -D__KERNEL_STRICT_NAMES -Wall -D__CEPH__ \
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS \
-D_GNU_SOURCE -rdynamic -Winit-self -Wpointer-arith -fno-strict-aliasing \
-Wnon-virtual-dtor -Wno-invalid-offsetof -Wstrict-null-sentinel -g -MT OSD.lo -MD -MP \
-MF .deps/OSD.Tpo -c osd/OSD.cc -fPIC -DPIC -o .libs/OSD.o In file included from \
./os/LFNIndex.h:27, from ./os/HashIndex.h:20,
from ./os/FileStore.h:26,
from osd/OSD.cc:25:
./common/ceph_crypto.h:44:22: error: pk11pub.h: No such file or directory
Commit
d59f34ab made FileStore.h include HashIndex.h, which ultimately
results in OSD.cc including ceph_crypto.h.
Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Yehuda Sadeh [Wed, 7 Sep 2011 03:40:50 +0000 (20:40 -0700)]
rgw: fix arg parsing
Colin Patrick McCabe [Wed, 7 Sep 2011 01:01:20 +0000 (18:01 -0700)]
rbd: fix command option parsing, honor --
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Josh Durgin [Wed, 7 Sep 2011 00:27:17 +0000 (17:27 -0700)]
cephtool: add --concise option again
This was accidentally removed in the arg parsing conversion.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Yehuda Sadeh [Tue, 6 Sep 2011 23:57:17 +0000 (16:57 -0700)]
rgw: prepare for supporting other meta headers
Josh Durgin [Wed, 7 Sep 2011 00:10:55 +0000 (17:10 -0700)]
osdmaptool: fix typo in argument
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Tommi Virtanen [Tue, 6 Sep 2011 23:08:58 +0000 (16:08 -0700)]
doc: Note that mkcephfs can't do upgrades etc.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Tue, 6 Sep 2011 22:55:37 +0000 (15:55 -0700)]
doc: mkcephfs ssh's directly as root@
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Tue, 6 Sep 2011 21:55:28 +0000 (14:55 -0700)]
mkcephfs: Config $user is irrelevant when we want to run as root.
It used to just not sudo if $user was empty, on non-ssh do_root_cmd's.
This bug was exposed by commit
47b09e2f0463f6a5ea8cc8e127b012a0cf1ec4af .
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 22:39:30 +0000 (15:39 -0700)]
Merge branch 'wip-argparse'
Conflicts:
src/rgw/rgw_admin.cc
Colin Patrick McCabe [Thu, 1 Sep 2011 00:42:18 +0000 (17:42 -0700)]
ceph tool: convert to new-style arg parsing
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 22:19:45 +0000 (15:19 -0700)]
ceph_argparse: remove unused macros, functions
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 22:16:09 +0000 (15:16 -0700)]
cfuse: use new-style argument parsing stuff
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 22:12:33 +0000 (15:12 -0700)]
cmon: use new argument parsing stuff
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 22:07:55 +0000 (15:07 -0700)]
cosd.cc: use new argument parsing functions
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 22:03:07 +0000 (15:03 -0700)]
crushtool: use new argument parsing stuff
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 21:32:43 +0000 (14:32 -0700)]
rgw_admin: use new argument parsing stuff
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 19:01:54 +0000 (12:01 -0700)]
rbd.cc: use new argument parsing stuff
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 19:01:39 +0000 (12:01 -0700)]
Add ceph_argparse_withlonglong
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 18:34:21 +0000 (11:34 -0700)]
monmaptool, osdmaptool: fix double-dash handling
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 17:26:51 +0000 (10:26 -0700)]
monmaptool: use new argument parsing stuff
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 16:59:01 +0000 (09:59 -0700)]
cmds: remove unused macro
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 16:57:37 +0000 (09:57 -0700)]
TestSignalHandlers: use new argument parsing stuff
Use new argument parsing stuff, remove some deadcode, cleanup.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 6 Sep 2011 16:44:00 +0000 (09:44 -0700)]
osdmaptool: use new ceph_argparse stuff
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 2 Sep 2011 20:37:31 +0000 (13:37 -0700)]
ceph_argparse: add ceph_argparse_withint
Add an easy way of parsing an int argument. Always match va_start with
va_end.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 1 Sep 2011 01:42:12 +0000 (18:42 -0700)]
rados.cc: remove unused macro
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 1 Sep 2011 01:40:44 +0000 (18:40 -0700)]
librados-config: remove unused old-style argparse
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 1 Sep 2011 01:38:49 +0000 (18:38 -0700)]
cauthtool: convert to new-style arg parsing
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 1 Sep 2011 01:15:20 +0000 (18:15 -0700)]
gceph tool: convert to new-style arg parsing
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Yehuda Sadeh [Tue, 6 Sep 2011 21:37:30 +0000 (14:37 -0700)]
rgw: set perm_mask for swift operations
Yehuda Sadeh [Tue, 6 Sep 2011 21:22:21 +0000 (14:22 -0700)]
rgw: fix update_container_stats()
being used when using swift
Tommi Virtanen [Tue, 6 Sep 2011 20:48:44 +0000 (13:48 -0700)]
doc: Explicitly say ceph.conf host= must not include domain name.
Hopefully this will work some day, but it doesn't right now.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Tue, 6 Sep 2011 20:25:00 +0000 (13:25 -0700)]
mkcephfs: cosd and cmon setup must happen as root.
Without this, they cannot e.g. write to /var/log, or probably
even to their data directories.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Tue, 6 Sep 2011 20:19:44 +0000 (13:19 -0700)]
doc: Document mkcephfs-style installation.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Tommi Virtanen [Tue, 6 Sep 2011 18:51:14 +0000 (11:51 -0700)]
man: mkcephfs: Typo.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Samuel Just [Tue, 6 Sep 2011 18:49:38 +0000 (11:49 -0700)]
FileStore: close correct fd in version_stamp methods
version_stamp_is_valid and write_version_stamp previously closed op_fd
rather than fd causing write_op_sep to fail in sync_entry.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Tue, 6 Sep 2011 18:34:26 +0000 (11:34 -0700)]
FileStore: check write_op_seq return code during sync_entry
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Greg Farnum [Sun, 4 Sep 2011 23:53:47 +0000 (16:53 -0700)]
ReplicatedPG: use the client_messenger for OSD Op replies
We were erroneously using the cluster_messenger instead --
looks like the initial conversion just went wrong since this
is in the repop handling code.
Reported-by: Huang Jin <hjwsm1989@gmail.com>
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Sage Weil [Sat, 3 Sep 2011 03:48:42 +0000 (20:48 -0700)]
os/lfnindex: silence compiler warnings
gcc warns about the lack of a space before the ';'! Crazy.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 3 Sep 2011 03:46:53 +0000 (20:46 -0700)]
client: only flush imported cap if it is now auth
We can get a cap import that isn't auth if there was a racing import
because the cap since migrated to another node. We do not want to flush
the caps in that case. Not to this mds, certainly, and not even to
another, because that would have happened when we got the other import.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 3 Sep 2011 03:24:00 +0000 (20:24 -0700)]
Makefile: flock.h!
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Samuel Just [Sat, 3 Sep 2011 01:02:10 +0000 (18:02 -0700)]
cosd: Do filestore conversion after common_init_finish
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Yehuda Sadeh [Sat, 3 Sep 2011 00:10:56 +0000 (17:10 -0700)]
rgw: fix include
Samuel Just [Fri, 2 Sep 2011 23:46:57 +0000 (16:46 -0700)]
LFNIndex: Fix lfn parsing for hobjects with keys
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Fri, 2 Sep 2011 23:03:16 +0000 (16:03 -0700)]
Merge branch 'hobject_change'
Yehuda Sadeh [Fri, 2 Sep 2011 22:59:35 +0000 (15:59 -0700)]
rgw: rename source file
Yehuda Sadeh [Fri, 2 Sep 2011 22:58:49 +0000 (15:58 -0700)]
rgw: some var names cleanup
Samuel Just [Fri, 2 Sep 2011 21:32:04 +0000 (14:32 -0700)]
LFNIndex: include index_version in the lfn attribute name
While updating, we use hard links to populate the new directory. We
need to change the lfn attribute to allow unlinking from the old
directory to continue to work.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Yehuda Sadeh [Fri, 2 Sep 2011 22:13:14 +0000 (15:13 -0700)]
rgw: fix parameter passing to swift user creation
Samuel Just [Fri, 2 Sep 2011 21:30:48 +0000 (14:30 -0700)]
PG: Also fix the key when fixing an incomplete log event
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Fri, 2 Sep 2011 18:09:37 +0000 (11:09 -0700)]
LFNIndex: Add support generating keyed hobject_t filenames
LFNIndex will now include the key in the filename.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Thu, 1 Sep 2011 23:29:00 +0000 (16:29 -0700)]
FileStore,LFNIndex: Bump filestore version
Also adds mechanisms for LFNIndex to handle keyed and keyless hobject_t
versions.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Fri, 2 Sep 2011 00:15:33 +0000 (17:15 -0700)]
OSD: fix hobject_t construction
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>