]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Colin Patrick McCabe [Fri, 4 Feb 2011 14:08:41 +0000 (06:08 -0800)]
cmon: check return code of chdir
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 12:42:01 +0000 (04:42 -0800)]
tools/common: EINTR/unchecked return fix
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 12:37:53 +0000 (04:37 -0800)]
rados: fix pedantic gcc warning on writing stdout
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 12:24:27 +0000 (04:24 -0800)]
filejournal: fix unchecked returns, modularize
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 18:15:34 +0000 (10:15 -0800)]
cosd: check chdir return code
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 17:42:39 +0000 (09:42 -0800)]
osd: Ager: remove Ebofs leftovers
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 14:50:32 +0000 (06:50 -0800)]
Add do_autogen.sh
It's handy when making builds with various different warning levels.
Also saves you from having to remember --prefix, etc. all the time.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 15:53:51 +0000 (07:53 -0800)]
mkcephfs: clean up temp files, honor $TEMPDIR
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Thu, 3 Feb 2011 23:53:53 +0000 (15:53 -0800)]
filer: fix probe
ENOENT is allowed and expected at the end of a journal. It is treated the
same as a zero size object.
Fixes
800507e891170b99cae10a9bf7c5166fd3512927 .
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 15:51:57 +0000 (07:51 -0800)]
client/fuse_ll.c: const cleanup
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 15:50:54 +0000 (07:50 -0800)]
Revert "client/fuse_ll: fully initialize callback struct"
Older build environments may not have all the fuse function ptrs that
are present in newer ones. It's best to just let them all silently be
set to 0.
This reverts commit
516ac99bb8c16614757f3b61f4bf266e4531861e .
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 15:47:59 +0000 (07:47 -0800)]
Revert "client/fuse.cc: explicity zero fuse function ptrs"
Older build environments may not have all the fuse function ptrs that
are present in newer ones. It's best to just let them all silently be
set to 0.
This reverts commit
38b50013e27e79dd43c5f514c8c24bd8b1e69e5f .
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 15:42:44 +0000 (07:42 -0800)]
Merge branch 'master' of ssh://ceph.newdream.net/git/ceph
Sage Weil [Thu, 3 Feb 2011 23:24:06 +0000 (15:24 -0800)]
filestore: fix wipe_subvol the rest of the way
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 3 Feb 2011 23:09:36 +0000 (15:09 -0800)]
filestore: fix (part of) wipe_subvol
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Thu, 3 Feb 2011 22:41:48 +0000 (14:41 -0800)]
msgr: add nonce parsing to entity_addr_t::parse()
Reported-by: John Leach <john@brightbox.co.uk>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 12:30:32 +0000 (04:30 -0800)]
os: FileStore::wipe_subvol: fix removing old dir
Older versions of btrfs which don't have BTRFS_IOC_SNAP_DESTROY need to
manually remove snapshots.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 14:07:26 +0000 (06:07 -0800)]
cosd.cc: better error message if osd->init fails
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Samuel Just [Thu, 3 Feb 2011 20:20:22 +0000 (12:20 -0800)]
auth/ExportControl: fix allow_def leak
allow_def would be leaked if the first branch is not taken.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Sage Weil [Thu, 3 Feb 2011 19:58:59 +0000 (11:58 -0800)]
Merge branch 'stable'
Conflicts:
src/common/signal.cc
src/os/FileStore.cc
Sage Weil [Thu, 3 Feb 2011 18:10:51 +0000 (10:10 -0800)]
signal: fix redefine warnings
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Samuel Just [Thu, 3 Feb 2011 19:58:56 +0000 (11:58 -0800)]
ReplicatedPG: snap_trimmer fix leaked lock
Previous patch
7a02070b741d3482ff6b28827c1eb274a2134486 leaks the pg
lock.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Sage Weil [Thu, 3 Feb 2011 19:54:01 +0000 (11:54 -0800)]
mds: make SETDIRLAYOUT start with ancestor policy
When we set a new policy on a directory, make the starting point the
current policy, as specified by an ancestor. Remove any reference to
g_default_file_layout.
This aligns the code with the inode creation paths (the other time we
look at the layout policy).
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Samuel Just [Thu, 3 Feb 2011 18:31:47 +0000 (10:31 -0800)]
ReplicatedPG:snap_trimmer should return if !clean or !active or !primary
The PG may become !clean or !active while in the osd snap_trim_wq.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 12:36:56 +0000 (04:36 -0800)]
Merge branch 'wannoying'
Samuel Just [Thu, 3 Feb 2011 19:35:47 +0000 (11:35 -0800)]
MonMap: add,remove,contains can take const references
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Thu, 3 Feb 2011 19:34:17 +0000 (11:34 -0800)]
SimpleMessenger: learned_addr can take a const ref
peer_addr_for_me can be passed as a const ref.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Greg Farnum [Thu, 3 Feb 2011 12:12:37 +0000 (04:12 -0800)]
mds: handle_client_setdirlayout: init fl_pg_pool
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 12:10:58 +0000 (04:10 -0800)]
librados: print out errs in do_import, check EINTR
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 11:20:40 +0000 (03:20 -0800)]
include/utime.h: avoid comparing float with 0
Avoid doing an exact comparison of a float with 0.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 18:24:17 +0000 (10:24 -0800)]
crush: eliminate signed/unsigned comparisons
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 17:57:32 +0000 (09:57 -0800)]
client/fuse.cc: explicity zero fuse function ptrs
Set unused function pointers to 0 explicitly to please gcc. (They were
already implicitly zeroed because the containing struct was a global.)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 17:44:13 +0000 (09:44 -0800)]
mount.ceph: put static at the beginning of decl
To squash a gcc warning.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 17:42:51 +0000 (09:42 -0800)]
tools/gui.cc: remove empty else statement
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 17:37:27 +0000 (09:37 -0800)]
mon/OSDMonitor: don't check if unsigned < 0
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 17:36:46 +0000 (09:36 -0800)]
osd/OSD: remove always-true assert
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 12:10:22 +0000 (04:10 -0800)]
const-ify some unchanging static structs
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 17:27:59 +0000 (09:27 -0800)]
rgw/rgw_rest.cc: fix uninitialized static struct
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 17:01:50 +0000 (09:01 -0800)]
osdc/Filer: assert(0) on stat error
Remove broken error handling code and replace with an assert(0) and a
TODO.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 16:30:30 +0000 (08:30 -0800)]
client/fuse_ll: fully initialize callback struct
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 16:28:42 +0000 (08:28 -0800)]
mds/locks: fully initialize lock states
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 16:26:16 +0000 (08:26 -0800)]
osdc/ObjectCacher.h: don't assert unsigned >= 0
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 16:25:33 +0000 (08:25 -0800)]
Client::readdir_r_cb: fix "always returns true"cmp
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 14:54:04 +0000 (06:54 -0800)]
direct_io_test: fix signed/unsigned, printf flags
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 14:53:37 +0000 (06:53 -0800)]
src/config.cc: fully initialize g_default_file_layout
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 13:41:07 +0000 (05:41 -0800)]
crush/builder.c: fix signed/unsigned confusion
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 12:41:10 +0000 (04:41 -0800)]
include/buffer.h:unsigned variables are always >=0
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 3 Feb 2011 11:53:29 +0000 (03:53 -0800)]
Merge branch 'master' of ssh://ceph.newdream.net/git/ceph
Samuel Just [Wed, 2 Feb 2011 22:25:09 +0000 (14:25 -0800)]
RGW: RGW::GetObj - signed/unsigned bug
get_obj returns an int, len is unsigned
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Wed, 2 Feb 2011 20:03:52 +0000 (12:03 -0800)]
RGW: fix ret in RGWCopyObj::init_common
int ret shadows RGWCopyObj::ret.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Wed, 2 Feb 2011 20:01:22 +0000 (12:01 -0800)]
RGW: fix shadowed variable error
int ret and bool ret shadow this->ret, setting ret before the goto
therefore had no effect in these cases.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Wed, 2 Feb 2011 20:00:00 +0000 (12:00 -0800)]
RGW: get_service_secret returns a bool, not an int
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Wed, 2 Feb 2011 22:19:42 +0000 (14:19 -0800)]
RBD.cc: pread returns a signed value
The check for len < 0 here always returned true since len is uint64_t.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Wed, 2 Feb 2011 21:35:21 +0000 (13:35 -0800)]
mount.ceph: option parsing fix
Passing -o secretfile would cause a segfault since searching for = would
result in a null pointer. New version checks for that case. Also, *end
cannot be a ,.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Colin Patrick McCabe [Wed, 2 Feb 2011 12:25:34 +0000 (04:25 -0800)]
Merge branch 'objecter_balance_reads'
Tommi Virtanen [Wed, 2 Feb 2011 19:02:14 +0000 (11:02 -0800)]
Fix base64-decoding when input ends in newline.
It used to return -EINVAL because it thought the end was not aligned
to 4 bytes.
Clean up superfluous src < end test in if, the while itself guarantees
that.
Tommi Virtanen [Wed, 2 Feb 2011 17:59:49 +0000 (09:59 -0800)]
Fix inner loop index variable. i and j are too close together ;)
Before this fix, j would keep increasing well beyond in_len,
and lead to segfaults.
Greg Farnum [Wed, 2 Feb 2011 17:57:14 +0000 (09:57 -0800)]
osd: Fix compile-time warning.
store is properly initialized inside a try block, but the
compiler doesn't notice that and so thinks it may be used
uninitialized. So initialize it to be NULL.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Wed, 2 Feb 2011 17:54:45 +0000 (09:54 -0800)]
mds: Remove unused variable.
Fixes compile complaint. Was made useless in commit
6d29fc66326ff40443ac465c84d6f7bddf3cee4f .
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Wed, 2 Feb 2011 17:51:33 +0000 (09:51 -0800)]
rados: Make rados tool "put" objects in chunks.
Defaults to 4MB, but can be configured.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Tue, 1 Feb 2011 20:42:59 +0000 (12:42 -0800)]
mds: Remove redundant cap suppression code.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Chris Dunlop [Wed, 2 Feb 2011 05:38:54 +0000 (05:38 +0000)]
Speling fixes
Trivial spelling fixes...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Chris Dunlop [Wed, 2 Feb 2011 06:02:10 +0000 (06:02 +0000)]
Improve mount.ceph.8
Seeing as I was wondering what "rbytes" might be, I guess others might
too...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 2 Feb 2011 05:08:34 +0000 (21:08 -0800)]
monitorstore: check return values
And use open(2) instead of fopen.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 2 Feb 2011 05:07:55 +0000 (21:07 -0800)]
mds: check return values in dumper
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Wed, 2 Feb 2011 05:07:45 +0000 (21:07 -0800)]
confutils: check return values
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 19:08:56 +0000 (11:08 -0800)]
os: use scoped variables for fds
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 18:49:28 +0000 (10:49 -0800)]
test: add test_csyn
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 18:14:05 +0000 (10:14 -0800)]
csyn: implement localize_reads cmdline option
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 14:22:02 +0000 (06:22 -0800)]
osd: change unfound handling when using localize
Change how cosd handles unfound objects when doing operations with
localize_reads. Specifically, don't wait for unfound objects unless we
are the primary for the relevant PG.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 31 Jan 2011 18:45:58 +0000 (10:45 -0800)]
Hadoop: set localize_reads
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 31 Jan 2011 12:12:58 +0000 (04:12 -0800)]
cfuse: add --localize-reads argument
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 28 Jan 2011 17:32:50 +0000 (09:32 -0800)]
libceph: iface for CEPH_OSD_FLAG_LOCALIZE_READS
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Mon, 20 Dec 2010 23:47:25 +0000 (15:47 -0800)]
objecter: implement FLAG_LOCALIZE_READS
Read from a local replica, if any.
Signed-off-by: Sage Weil <sage@newdream.net>
Sage Weil [Mon, 20 Dec 2010 23:44:40 +0000 (15:44 -0800)]
objecter: send read to random replica if BALANCE_READS flag is set
The flag is just an existing one; we may want to rename.
This assumes the OSD will discard any request sent prior to any change in
the PG acting set. We need to make sure the OSD behavior matches.
Signed-off-by: Sage Weil <sage@newdream.net>
Samuel Just [Tue, 1 Feb 2011 21:48:39 +0000 (13:48 -0800)]
FileStore: fix double close
curr_fd is already closed if cp == cur_seq. This second close
occasionally ended up closing another thread's fd. The next open would
tend to grab that fd in op_fd or current_fd which would then get closed
by the other thread leaving op_fd or current_fd pointing to some random
file (or a closed descriptor).
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Tue, 1 Feb 2011 21:48:39 +0000 (13:48 -0800)]
FileStore: fix double close
curr_fd is already closed if cp == cur_seq. This second close
occasionally ended up closing another thread's fd. The next open would
tend to grab that fd in op_fd or current_fd which would then get closed
by the other thread leaving op_fd or current_fd pointing to some random
file (or a closed descriptor).
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 18:54:35 +0000 (10:54 -0800)]
common: config.cc: use "admin" as the default id
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 17:18:31 +0000 (09:18 -0800)]
common: move init_g_conf into md_config_t ctor
Make sure that g_conf is initialized with default values before anything
else happens.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 17:21:18 +0000 (09:21 -0800)]
common: config.cc: whitespace cleanup
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 16:33:29 +0000 (08:33 -0800)]
common: config.cc: de-globalize g_fake_kill_after
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 16:13:27 +0000 (08:13 -0800)]
common: config.cc: de-globalize show_config
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 16:06:12 +0000 (08:06 -0800)]
common: clean up g_conf.id initialization a bit
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 14:23:12 +0000 (06:23 -0800)]
common: remove ceph_set_default_id
ceph_set_default_id was only ever used to set the default ID to "admin",
which it already was.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 1 Feb 2011 11:30:04 +0000 (03:30 -0800)]
FileStore: fix error handling for mkfs, umount
In FileStore::umount: check if FDs are valid before closing them. Make
them invalid after closing them. Shut down FileStore::timer.
In FileStore::mkfs: always properly shutdown and free the filestore if
an error is encountered during mkfs. Check all functions that can fail.
Print out error messages on failures.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Tue, 1 Feb 2011 17:28:15 +0000 (09:28 -0800)]
mds: make --dump-journal preserve offset
Suggest user use tar -S to preserve sparseness.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 1 Feb 2011 05:10:18 +0000 (21:10 -0800)]
gitignore: ignore eclipse metadata
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 1 Feb 2011 05:09:15 +0000 (21:09 -0800)]
remove ancient active/ stuff
Sage Weil [Tue, 1 Feb 2011 04:58:47 +0000 (20:58 -0800)]
osd: don't leak fd on error
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 1 Feb 2011 04:55:51 +0000 (20:55 -0800)]
crypto: don't clobber errno
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 1 Feb 2011 00:24:12 +0000 (16:24 -0800)]
Merge remote branch 'origin/ostimeo'
Sage Weil [Sun, 30 Jan 2011 05:34:05 +0000 (21:34 -0800)]
Merge branch 'mds_reset'
Fixes: #602
Sage Weil [Sun, 30 Jan 2011 05:17:06 +0000 (21:17 -0800)]
Merge remote branch 'origin/stable'
Conflicts:
src/osd/OSD.cc
Samuel Just [Fri, 28 Jan 2011 22:07:47 +0000 (14:07 -0800)]
OSD: update_osd_stat take heartbeat_lock
Previously update_osd_stat had a race with code modifying heartbeat_from
causing the iterator increment to occasionally segfault.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Sage Weil [Sat, 29 Jan 2011 00:56:22 +0000 (16:56 -0800)]
mds: skip a few more inodes during journal reset
To be safe...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 29 Jan 2011 00:25:31 +0000 (16:25 -0800)]
mds: implement journal reset
This basically works. Remaining issues:
- mydir and root inodes are recreated from scratch but need to be
reconciled with what's committed (outside the old journal)
- ?
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 29 Jan 2011 00:36:14 +0000 (16:36 -0800)]
mds: open mydir (along w/ root) inode from boot_start()
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Greg Farnum [Sat, 29 Jan 2011 00:44:50 +0000 (16:44 -0800)]
Locker: Drop loner correctly!
Our previous check for if we want to drop the loner was incorrect.
Now, it's fixed. Resolves a serious bug with inode write access.
Reported-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Sat, 29 Jan 2011 00:44:50 +0000 (16:44 -0800)]
Locker: Drop loner correctly!
Our previous check for if we want to drop the loner was incorrect.
Now, it's fixed. Resolves a serious bug with inode write access.
Reported-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Thu, 27 Jan 2011 00:25:59 +0000 (16:25 -0800)]
librados: fix C interface const, too.
See
561224e95d6c66661d1bd6dce0e3d9da6f4a7e13
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>