]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Colin Patrick McCabe [Thu, 10 Feb 2011 13:49:49 +0000 (05:49 -0800)]
mds/Dumper: use safe_write
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 10 Feb 2011 13:49:31 +0000 (05:49 -0800)]
btrfs_ioc_test.c: use safe_write
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 10 Feb 2011 13:49:10 +0000 (05:49 -0800)]
test_disk_bw.cc: use safe_write
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 10 Feb 2011 13:47:08 +0000 (05:47 -0800)]
common: safe_io: allow C files to include safe_io
Don't use extern C unless we're compiling with C++.
This allows C files to include safe_io.h
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 10 Feb 2011 13:13:04 +0000 (05:13 -0800)]
client/fuse_ll: use safe_write
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 10 Feb 2011 11:55:38 +0000 (03:55 -0800)]
os: convert some read/write uses to safe variants
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 10 Feb 2011 11:53:25 +0000 (03:53 -0800)]
common:safe_io: create exact and non-exact variant
Create safe_read_exact, which fails with -EDOM unless it reads exactly
the requested number of bytes. More often, what we want is the
semantics of safe_read, which returns the number of bytes it read, or
negative on error. Likewise for pread.
Write doesn't need variants because failing to write all the bytes is
always an error.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Thu, 10 Feb 2011 11:27:40 +0000 (03:27 -0800)]
common: safe_io: handle EOF on read
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Thu, 10 Feb 2011 17:01:09 +0000 (09:01 -0800)]
rbd: fix signed/unsigned comp on i386
We -D_FILE_OFFSET_BITS=64, so off_t is off64_t.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Tommi Virtanen [Tue, 8 Feb 2011 17:39:12 +0000 (09:39 -0800)]
Removing files that look completely unused.
Sage Weil [Thu, 10 Feb 2011 16:52:12 +0000 (08:52 -0800)]
osd: avoid message leak in error path
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Greg Farnum [Thu, 10 Feb 2011 01:01:06 +0000 (17:01 -0800)]
config: fix -f option settings.
We don't want to force foreground logging just because we run in the
foreground -- use no-daemon for that!
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Colin Patrick McCabe [Wed, 9 Feb 2011 18:53:46 +0000 (10:53 -0800)]
dout: don't print time to syslog
Syslog itself prepends a time to messages, so don't duplicate that.
Use a faster snprintf-based method to generate the time string rather
than streams.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 9 Feb 2011 14:48:14 +0000 (06:48 -0800)]
Merge branch 'fix32'
Tommi Virtanen [Wed, 9 Feb 2011 18:07:44 +0000 (10:07 -0800)]
On i386, pthread ids are 8 hexdigits. Adjust cli tests.
Colin Patrick McCabe [Wed, 9 Feb 2011 14:39:33 +0000 (06:39 -0800)]
msg/SimpleMessenger.c: fix signed/unsigned compare
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 9 Feb 2011 14:32:44 +0000 (06:32 -0800)]
os/FileStore: fix signed/unsigned comparison warn
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 9 Feb 2011 14:28:41 +0000 (06:28 -0800)]
os/FileJournal: compare like types in MAX()
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Wed, 9 Feb 2011 13:32:20 +0000 (05:32 -0800)]
tools/gui.cc: fix signed/unsigned comparison
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 8 Feb 2011 17:38:50 +0000 (09:38 -0800)]
make:add messages/MOSDRepScrub.h to NOINST_HEADERS
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Wed, 9 Feb 2011 00:22:47 +0000 (16:22 -0800)]
Merge branch 'stable'
Conflicts:
src/osd/OSD.cc
Sage Weil [Wed, 9 Feb 2011 00:22:01 +0000 (16:22 -0800)]
Merge remote branch 'origin/rep_scrub_wq' into stable
Sage Weil [Tue, 8 Feb 2011 16:41:52 +0000 (08:41 -0800)]
osd: discard scrub reply if pg changed
build_scrub_map will bail out if the pg changed. Discard the result in
that case since the primary will ignore it anyway.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 8 Feb 2011 16:41:14 +0000 (08:41 -0800)]
osd: avoid map_lock for scrub_map reply
Using osd->osdmap->epoch without map_lock is dangerous. We can avoid it
entirely by replying on the same connection as the request.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 8 Feb 2011 16:21:31 +0000 (08:21 -0800)]
osd: never rewrite log after {advance,activate}_map
pg->dirty_log is never true, so this is dead code. And nothing in either
of those two methods updates the pg log.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 8 Feb 2011 16:20:19 +0000 (08:20 -0800)]
osd: always write backlog after creation
dirty_log is never set to true, so we would set the log.backlog flag but
not write it to disk. If we restarted the OSD, we would think we had the
backlog in the log but in reality we would not. clean_up_local() could
then erase almost every object in the PG.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 8 Feb 2011 15:54:17 +0000 (07:54 -0800)]
osd: fix no missing inferance
Add missing continue in last_update==last_complete (no missing) case.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Colin Patrick McCabe [Tue, 8 Feb 2011 16:07:34 +0000 (08:07 -0800)]
common_init: don't force profiling_logger = true
common_init: don't force profiling_logger = true for daemons. Users can
always set "profiling logger = true" when they want to activate it.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 7 Feb 2011 18:10:06 +0000 (10:10 -0800)]
common: Rename Logger to ProfilingLogger
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Tue, 8 Feb 2011 11:22:21 +0000 (03:22 -0800)]
common: combine set_fg_logging into common_init
Combine set_fg_logging into common_init. This eliminates the problem
where we briefly try to apply the logging settings from the config file
even in a program that needs to set foreground logging.
TestTimers, TestSignalHandlers, TestDoutStreambuf: don't initialize ceph
authentication. These applications don't need it.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Fri, 28 Jan 2011 20:40:41 +0000 (12:40 -0800)]
gitignore: ignore massif.out.*
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 8 Feb 2011 15:48:32 +0000 (07:48 -0800)]
config: kill more unused options
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Tue, 8 Feb 2011 15:43:00 +0000 (07:43 -0800)]
cfuse: remove high level fuse interface
Untested, unused, and inferior to the lowlevel implementation.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Samuel Just [Sat, 5 Feb 2011 01:23:15 +0000 (17:23 -0800)]
PG: remove sub_op_scrub
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Fri, 4 Feb 2011 01:02:17 +0000 (17:02 -0800)]
PG: switch _request_scrub_map to send MOSDRepScrub
Also switches sub_op_scrub_reply to sub_op_scrub_map to handle the
OSD_OP_SCRUB_MAP response.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Sat, 5 Feb 2011 01:00:58 +0000 (17:00 -0800)]
OSD: Adds handler for MOSDRepScrub
handle_rep_scrub enqueues the message in rep_scrub_wq.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Sat, 5 Feb 2011 00:59:58 +0000 (16:59 -0800)]
PG: added replica_scrub
Adds handler in PG for MOSDRepScrub messages. replica_scrub will
replace sub_op_scrub.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Sat, 5 Feb 2011 00:58:06 +0000 (16:58 -0800)]
OSD: Add rep_scrub_wq
Previously, replica scrubs would be handled in sub_op_scrub in the op
queue. Replica scrubs will now be processed by rep_scrub_wq using the
disk tp.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Fri, 4 Feb 2011 23:46:27 +0000 (15:46 -0800)]
rados: Adds CEPH_OSD_OP_SCRUB_MAP sub op
Previously, maps were requested with a sub_op and sent with a
sub_op_reply. As maps will now be requested using a different message,
replicas will transmit scrub maps requested via MOSDRepScrub messages by
sending a sub_op of type CEPH_OSD_OP_SCRUB_MAP.
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Thu, 3 Feb 2011 22:29:43 +0000 (14:29 -0800)]
MOSDRepScrub: Adds a message for initiating a replica scrub
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Colin Patrick McCabe [Mon, 7 Feb 2011 18:00:28 +0000 (10:00 -0800)]
common: call closelog before openlog
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 7 Feb 2011 17:19:15 +0000 (09:19 -0800)]
vstart.sh: -k doesn't take an argument
-k doesn't take an argument, so don't call shift a second time. (It's
already called once at the end of the loop.)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 7 Feb 2011 16:54:53 +0000 (08:54 -0800)]
config: call openlog to set ident
Set the 'ident' field in our syslog output.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 7 Feb 2011 13:43:56 +0000 (05:43 -0800)]
dout: force reopen after conf read, fg logging set
After the configuration is read, or a program sets foreground logging,
force those changes to be applied to the dout() configuration.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Mon, 7 Feb 2011 11:24:38 +0000 (03:24 -0800)]
mkcephfs: fix bug in multi-node setups
mkcephfs needs to create $TDIR on the other nodes in a multi-node setup
before trying to scp files into that directory.
Also, do mkdir -p on the directory where the configuration is going to
go.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 20:12:51 +0000 (12:12 -0800)]
safe_io: move to C
Fixes unistd vs XOPEN_SOURCE define weirdness.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 19:54:45 +0000 (11:54 -0800)]
ceph: use new safe_read wrapper
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 19:54:38 +0000 (11:54 -0800)]
add safe_{read/write} wrappers
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 19:56:53 +0000 (11:56 -0800)]
build_debian_image: include bind9-host
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 18:07:51 +0000 (10:07 -0800)]
build_debian_image: fixes
- /dev/pts
- copy console helper scripts
- run from any directory
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 17:34:12 +0000 (09:34 -0800)]
filejournal: fix return code check
pwrite() returns number of bytes, or -1.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 17:15:21 +0000 (09:15 -0800)]
qa: test for proper i_complete handling
This reproduces some buggery with rename vs I_COMPLETE on the kernel
client.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 16:56:25 +0000 (08:56 -0800)]
build_debian_image: include libcrypto++ (need for runtime)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 16:56:03 +0000 (08:56 -0800)]
kernel console debug output setup scripts
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 05:17:08 +0000 (21:17 -0800)]
script: add script to build uml images
Set up a tap interface in your bridge, and then
./linux ubda=image mem=512M eth0=tuntap,tap0 ip=<ip> netmask=<netmask> gw=<gw>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 05:13:32 +0000 (21:13 -0800)]
remove old script
Sage Weil [Mon, 7 Feb 2011 05:11:05 +0000 (21:11 -0800)]
remove ancient web content
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Mon, 7 Feb 2011 04:49:59 +0000 (20:49 -0800)]
mon: ignore mds boot messages with zeroed port
On 0.24.2 I saw a zeroed port in the cmds log and in the mdsmap. Ignore
anything from a cmds with a zeroed port to prevent the insanity from
spreading.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sun, 6 Feb 2011 21:55:50 +0000 (13:55 -0800)]
client: more carefully gaurd local cache truncate
This fixes an assert when len=0 in file_to_extents when we get some weird
metadata from the MDS.
Fixes: #778
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sun, 6 Feb 2011 21:37:58 +0000 (13:37 -0800)]
msgr: make remove_pid_file fail silently if nothing to remove
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sun, 6 Feb 2011 04:43:58 +0000 (20:43 -0800)]
remove ancient mds_local_osd option
This used to add a few osds to the end of the osdmap, not included in the
crush map, with the assumption that they would be colocated with the MDSs
and used as the primary MDS journal copy. Not a useful hack anymore; you
can do this all explicitly by setting up your own crush map.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 5 Feb 2011 21:55:49 +0000 (13:55 -0800)]
fakemessenger: remove fakemessenger and related dead code
FakeMessenger has hopelessly drifted from the current abstract interface;
all of this code is years old.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 5 Feb 2011 21:50:02 +0000 (13:50 -0800)]
clock: remove tare function
This was used way back when to set a clock's relative "zero" time to
simplify stat collection when running performance benchmarks. It has no
use in a real system. If we need relative time for something, we can
subtract off the zero time in the output.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 5 Feb 2011 21:25:03 +0000 (13:25 -0800)]
config: remove (most) unused options
Left in a few that may be used later:
client_unmount_timeout
osd_shed_reads*
osd_min_raid_width
osd_recovery_forget_lost_objects
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 5 Feb 2011 21:21:59 +0000 (13:21 -0800)]
client: set lru midpoint
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 5 Feb 2011 21:09:47 +0000 (13:09 -0800)]
logger: don't calculate variance by default
Less memory, less CPU.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 5 Feb 2011 17:19:06 +0000 (09:19 -0800)]
msgr: check return values
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Sage Weil [Sat, 5 Feb 2011 17:18:57 +0000 (09:18 -0800)]
msgr: check return values for write_pid_file
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 19:00:24 +0000 (11:00 -0800)]
msgr: SimpleMessenger::start: fix unchecked return
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 18:57:56 +0000 (10:57 -0800)]
msgr: remove deadcode, warnings
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 18:53:36 +0000 (10:53 -0800)]
msgr: remove_pid_file: fix unchecked returns
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 18:02:22 +0000 (10:02 -0800)]
os: FileJournal::do_write: fix error handling
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 17:47:29 +0000 (09:47 -0800)]
Merge branch 'wannoying2'
Conflicts:
src/os/FileJournal.cc
Sage Weil [Fri, 4 Feb 2011 22:27:10 +0000 (14:27 -0800)]
filestore: handle read_op_seq errors
Fixes: #775
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Greg Farnum [Fri, 4 Feb 2011 21:42:09 +0000 (13:42 -0800)]
osd: Return error code when a write is too large.
This should prevent us from crashing the OSD by trying
to pass in a write that is larger than its journal can handle.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Thu, 3 Feb 2011 00:12:04 +0000 (16:12 -0800)]
config: add new osd_max_write_size option.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 17:28:30 +0000 (09:28 -0800)]
assert.h: Add ceph_abort
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 17:17:57 +0000 (09:17 -0800)]
os: _check_disk_write_cache: fix error handling
Fix error handling; use popen instead of a temporary file.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 16:50:43 +0000 (08:50 -0800)]
cmds: check return code of chdir
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 16:45:37 +0000 (08:45 -0800)]
unittest_encoding: build without -fstrict-aliasing
unittest_encoding gets "this breaks strict-aliasing" warnings when
compiled under Ubuntu. So don't crank up optimization on the unit test.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 15:42:14 +0000 (07:42 -0800)]
FileStore::mount: fix error handling
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 15:42:14 +0000 (07:42 -0800)]
os: fix zeroing first chunk of FileJournal
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 14:22:08 +0000 (06:22 -0800)]
os: FileStore::mkjournal: fix error handling
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Colin Patrick McCabe [Fri, 4 Feb 2011 14:16:07 +0000 (06:16 -0800)]
os: FileJournal::create: fix error handling
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
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>
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>
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 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