]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agoclient: drop unnecessary #include
Sage Weil [Fri, 16 Jul 2010 17:43:37 +0000 (10:43 -0700)]
client: drop unnecessary #include

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: simplify rstat/dirstat debug printing
Sage Weil [Fri, 16 Jul 2010 17:38:57 +0000 (10:38 -0700)]
mds: simplify rstat/dirstat debug printing

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: remove bogus 'oldest snap' floor on lssnap result
Sage Weil [Thu, 15 Jul 2010 22:13:25 +0000 (15:13 -0700)]
mds: remove bogus 'oldest snap' floor on lssnap result

I suspect the intent was to exclude snaps from parents from before we
existed.  However, get_snap_info() already does that intelligently.  And
get_oldest_snap() was wrong: this dirs snaps have little to do with
the nested snaprealms, old_inodes isn't a good indicator of birth time,
etc.

This fixes a bug where we couldn't see a snap in .snaps, but after the mds
restart could (because old_inodes included more old versions after
replay).

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agolower loglevel for successfull mon hunting
Christian Brunner [Wed, 14 Jul 2010 13:43:38 +0000 (15:43 +0200)]
lower loglevel for successfull mon hunting

I'm receving log output on every rados_initialize (... found mon0).
Since this makes the qemu-iotests fail, I'd suggest to lower the loglevel.

Christian

15 years agomessages: fix MClientRequest::is_write(), rename to may_write().
Greg Farnum [Fri, 16 Jul 2010 16:56:40 +0000 (09:56 -0700)]
messages: fix MClientRequest::is_write(), rename to may_write().

Also remove unused can_forward(), auth_is_best().

15 years agomsgr: use in6addr_any extern for is_blank_addr()
Sage Weil [Thu, 15 Jul 2010 21:51:05 +0000 (14:51 -0700)]
msgr: use in6addr_any extern for is_blank_addr()

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomsgr: put brackets around ipv6 addrs
Sage Weil [Thu, 15 Jul 2010 21:49:51 +0000 (14:49 -0700)]
msgr: put brackets around ipv6 addrs

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: throw std::bad_alloc on boost:pool<> depletion
Sage Weil [Thu, 15 Jul 2010 18:38:08 +0000 (11:38 -0700)]
mds: throw std::bad_alloc on boost:pool<> depletion

A bit more informative than a segfault from this=NULL in the constructor.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorbd: fix usage
Yehuda Sadeh [Thu, 15 Jul 2010 21:50:33 +0000 (14:50 -0700)]
rbd: fix usage

15 years agorbd: rbd tool can parse embedded snapshots name
Yehuda Sadeh [Thu, 15 Jul 2010 21:34:11 +0000 (14:34 -0700)]
rbd: rbd tool can parse embedded snapshots name

also update man page

15 years agorbd: update man page, other external tools
Yehuda Sadeh [Thu, 15 Jul 2010 21:07:52 +0000 (14:07 -0700)]
rbd: update man page, other external tools

15 years agomon: limit size of MOSDMap messages when subscribing
Sage Weil [Thu, 15 Jul 2010 18:05:16 +0000 (11:05 -0700)]
mon: limit size of MOSDMap messages when subscribing

Send multiple MOSDMap messages (max of 100 incrementals per) when
clients who are way behind subscribe.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebug: fix append to log file
Sage Weil [Thu, 15 Jul 2010 17:54:09 +0000 (10:54 -0700)]
debug: fix append to log file

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: oops, fix pool thing
Sage Weil [Thu, 15 Jul 2010 17:51:46 +0000 (10:51 -0700)]
osd: oops, fix pool thing

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: MOSDOp: print snapc if snap_seq != 0, not when snap list is empty
Sage Weil [Thu, 15 Jul 2010 17:43:55 +0000 (10:43 -0700)]
osd: MOSDOp: print snapc if snap_seq != 0, not when snap list is empty

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: use client or pool snapc based on _pool_ snap mode, not client op
Sage Weil [Thu, 15 Jul 2010 17:43:31 +0000 (10:43 -0700)]
osd: use client or pool snapc based on _pool_ snap mode, not client op

The pool snap mode determines where the snapc should come from.  In
particular, if the client specifies no snap seq, but the pool is in
unmanaged snap mode, then use the client (empty) snapc, and do not generate
one from the pool.

The pool might have a snap seq that is > 0, leading to and totally
invalid(!) snapc like 2=[], e.g., because the pool seq was bumped to create
an unmanaged snapc by another client.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorgw: delete bucket objects from root pool on destruction.
Greg Farnum [Thu, 15 Jul 2010 15:23:57 +0000 (08:23 -0700)]
rgw: delete bucket objects from root pool on destruction.

This allows a bucket with that name to be created later.

15 years agorbdtool: rename rbdtool to 'rbd' tool and change usage
Yehuda Sadeh [Wed, 14 Jul 2010 23:57:30 +0000 (16:57 -0700)]
rbdtool: rename rbdtool to 'rbd' tool and change usage

15 years agocfuse: return EROFS when attempting to modify snapshots
Greg Farnum [Wed, 14 Jul 2010 20:19:29 +0000 (13:19 -0700)]
cfuse: return EROFS when attempting to modify snapshots

15 years agomds: Check all write ops to make sure they aren't in a snapshot; return EROFS if...
Greg Farnum [Tue, 13 Jul 2010 18:35:00 +0000 (11:35 -0700)]
mds: Check all write ops to make sure they aren't in a snapshot; return EROFS if they are.

15 years agorbdtool: fix add-snap
Yehuda Sadeh [Sat, 10 Jul 2010 00:07:47 +0000 (17:07 -0700)]
rbdtool: fix add-snap

15 years agorbdtool: rearrange usage
Yehuda Sadeh [Fri, 9 Jul 2010 23:23:52 +0000 (16:23 -0700)]
rbdtool: rearrange usage

15 years agorbdtool: rename should first check source
Yehuda Sadeh [Fri, 9 Jul 2010 22:50:58 +0000 (15:50 -0700)]
rbdtool: rename should first check source

that is, source image doesn't exist error should have priority
over destination already exists.

15 years agodebian: override lintian warning unstripped-binary-or-object
Sage Weil [Fri, 9 Jul 2010 22:26:03 +0000 (15:26 -0700)]
debian: override lintian warning unstripped-binary-or-object

15 years agodebug: fix debug rank symlink rotate when log_per_instance
Sage Weil [Fri, 9 Jul 2010 22:33:18 +0000 (15:33 -0700)]
debug: fix debug rank symlink rotate when log_per_instance

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorbdtool: implement copy
Yehuda Sadeh [Fri, 9 Jul 2010 22:37:53 +0000 (15:37 -0700)]
rbdtool: implement copy

15 years agorbdtool: use canonical image name (pool/image)
Yehuda Sadeh [Fri, 9 Jul 2010 21:15:06 +0000 (14:15 -0700)]
rbdtool: use canonical image name (pool/image)

15 years agorbdtool: can read data using snapshot
Yehuda Sadeh [Fri, 9 Jul 2010 20:46:28 +0000 (13:46 -0700)]
rbdtool: can read data using snapshot

15 years agomds: fix up snap cap issue logic comments
Sage Weil [Fri, 9 Jul 2010 17:39:11 +0000 (10:39 -0700)]
mds: fix up snap cap issue logic comments

15 years agomds: fix acquire_lock() calls in handle_client_open()
Sage Weil [Fri, 9 Jul 2010 17:34:53 +0000 (10:34 -0700)]
mds: fix acquire_lock() calls in handle_client_open()

We want to acquire_locks exactly once per path through the function.
Don't look at mdr->* yet if we haven't locked yet.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: issue all snap_caps allowed given locks, not by current cap
Sage Weil [Fri, 9 Jul 2010 17:32:25 +0000 (10:32 -0700)]
mds: issue all snap_caps allowed given locks, not by current cap

For snap_caps, who cares if the live inode has a cap for this client.  We
always want to issue the maximum set of caps the inode locks allow for
a live inode or snapped inode with caps, or the max caps ever for a snapped
inode without caps.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agofix FCGI detection and specfile
Christian Brunner [Fri, 9 Jul 2010 20:43:42 +0000 (22:43 +0200)]
fix FCGI detection and specfile

configure is building radosgw as soon as libfcgi is installed, even
if --without-radosgw is given. Here is a fix for configure.in and the
specfile.

Regards,
Christian

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomon: avoid OOB m->cmd access in auth proprocess_command
Sage Weil [Fri, 9 Jul 2010 20:14:25 +0000 (13:14 -0700)]
mon: avoid OOB m->cmd access in auth proprocess_command

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomsgr: brackets (not braces) for ipv6 addrs
Sage Weil [Fri, 9 Jul 2010 18:15:55 +0000 (11:15 -0700)]
msgr: brackets (not braces) for ipv6 addrs

Sigh

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebug: only truncate log file on open if log_per_instance is set
Sage Weil [Fri, 9 Jul 2010 17:45:49 +0000 (10:45 -0700)]
debug: only truncate log file on open if log_per_instance is set

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: termiante client sessions before flushign log during shutdown
Sage Weil [Fri, 9 Jul 2010 17:09:53 +0000 (10:09 -0700)]
mds: termiante client sessions before flushign log during shutdown

We need to close out client sessions, and caps, to empty the open_files
lists, so that we can properly trim the EOpen events from the log.

This fixes a crash like so:

mds/journal.cc: In function 'C_Gather* LogSegment::try_to_expire(MDS*)':
mds/journal.cc:160: FAILED assert(ls != this)
 1: (LogSegment::try_to_expire(MDS*)+0x11c1) [0x90a1df]
 2: (MDLog::try_expire(LogSegment*)+0x2d) [0x902c25]
 3: (MDLog::trim(int)+0x55b) [0x902b0b]
 4: (MDCache::shutdown_pass()+0xeb) [0x7d6aab]
 5: (MDS::_dispatch(Message*)+0x2dc1) [0x71597f]
 6: (MDS::ms_dispatch(Message*)+0x38) [0x712a44]
 7: (Messenger::ms_deliver_dispatch(Message*)+0x63) [0x6fe07b]
 8: (SimpleMessenger::dispatch_entry()+0x5fd) [0x6ef7e7]
 9: (SimpleMessenger::DispatchThread::entry()+0x2c) [0x6e44b8]
 10: (Thread::_entry_func(void*)+0x23) [0x6fd075]
 11: /lib64/libpthread.so.0() [0x3552e06a3a]
 12: (clone()+0x6d) [0x35526ddf3d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is
needed to interpret this.

Reported-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: create /var/log/ceph directory
Christian Brunner [Fri, 9 Jul 2010 14:01:47 +0000 (16:01 +0200)]
ceph.spec.in: create /var/log/ceph directory

I've missed this one in my previous patch series.

Regards,
Christian

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: add a build option for radosgw (--with radosgw)
Christian Brunner [Fri, 9 Jul 2010 09:13:04 +0000 (11:13 +0200)]
ceph.spec.in: add a build option for radosgw (--with radosgw)

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: add /var/lib/ceph/
Christian Brunner [Fri, 9 Jul 2010 09:12:39 +0000 (11:12 +0200)]
ceph.spec.in: add /var/lib/ceph/

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: add logrotate configuration
Christian Brunner [Fri, 9 Jul 2010 09:12:16 +0000 (11:12 +0200)]
ceph.spec.in: add logrotate configuration

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: set correct path for rbd classes
Christian Brunner [Fri, 9 Jul 2010 09:11:49 +0000 (11:11 +0200)]
ceph.spec.in: set correct path for rbd classes

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: print debug write before adding to transaction
Sage Weil [Thu, 8 Jul 2010 22:41:32 +0000 (15:41 -0700)]
osd: print debug write before adding to transaction

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomsgr: return error and dethrottle if message decode fails
Sage Weil [Thu, 8 Jul 2010 21:55:53 +0000 (14:55 -0700)]
msgr: return error and dethrottle if message decode fails

This was broken by the addition of the throttling stuff.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: make helper scripts remember most recent release
Sage Weil [Thu, 8 Jul 2010 21:27:57 +0000 (14:27 -0700)]
debian: make helper scripts remember most recent release

So you don't have to cut&paste it on the command line

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: fix delayed pg creation use after free
Sage Weil [Thu, 8 Jul 2010 20:34:15 +0000 (13:34 -0700)]
osd: fix delayed pg creation use after free

Use local acting[], not the one stashed in creating_pgs[pgid].  And drop
the duplication .erase().

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agovstart: specify osd class tmp dir
Sage Weil [Thu, 8 Jul 2010 18:34:48 +0000 (11:34 -0700)]
vstart: specify osd class tmp dir

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomonc: make hunt, ping rates configuration
Sage Weil [Thu, 8 Jul 2010 17:56:32 +0000 (10:56 -0700)]
monc: make hunt, ping rates configuration

3s for hunt rate, 10s for ping rate.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: increase client mount timeout
Sage Weil [Thu, 8 Jul 2010 17:49:51 +0000 (10:49 -0700)]
client: increase client mount timeout

This needs to be longer than the monclient hunt rate (currently 10s) so
that we succeed if we initially pick a down monitor.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agofilestore: improve lseek64 error checking, and use buffer::list::write_fd()
Sage Weil [Thu, 8 Jul 2010 17:14:23 +0000 (10:14 -0700)]
filestore: improve lseek64 error checking, and use buffer::list::write_fd()

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agobuffer: make write_fd() const
Sage Weil [Thu, 8 Jul 2010 17:09:21 +0000 (10:09 -0700)]
buffer: make write_fd() const

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomount.ceph: handle ipv6 addrs, colons, braces
Sage Weil [Thu, 8 Jul 2010 16:49:50 +0000 (09:49 -0700)]
mount.ceph: handle ipv6 addrs, colons, braces

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec: require libedit
Sage Weil [Thu, 8 Jul 2010 15:38:54 +0000 (08:38 -0700)]
ceph.spec: require libedit

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph.spec.in: require binutils
Sage Weil [Thu, 8 Jul 2010 15:36:46 +0000 (08:36 -0700)]
ceph.spec.in: require binutils

cclass needs /usr/bin/nm

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: require binutils
Sage Weil [Thu, 8 Jul 2010 15:33:40 +0000 (08:33 -0700)]
debian: require binutils

cclass needs 'nm' to extract symbols from rados classes.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: explicit postinst/postrm for shlibs
Sage Weil [Wed, 7 Jul 2010 23:43:44 +0000 (16:43 -0700)]
debian: explicit postinst/postrm for shlibs

The dh_shlibdeps sees the .so in 'ceph' and incorrectly adds ldconfig to
postinst and postrm.  Which is useless and upsets lintian.  So do our
postinst/postrm magic explicitly.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorbdtool: fix export
Sage Weil [Wed, 7 Jul 2010 23:34:27 +0000 (16:34 -0700)]
rbdtool: fix export

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomon: create new pools using rjenkins hash
Sage Weil [Wed, 7 Jul 2010 23:02:58 +0000 (16:02 -0700)]
mon: create new pools using rjenkins hash

Otherwise they get -1, which always maps to an invalid (-1) pgid.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorbdtool: should support files larger than 2GB
Yehuda Sadeh [Wed, 7 Jul 2010 23:55:07 +0000 (16:55 -0700)]
rbdtool: should support files larger than 2GB

15 years agodebian: _do_ strip cosd
Sage Weil [Wed, 7 Jul 2010 22:49:29 +0000 (15:49 -0700)]
debian: _do_ strip cosd

15 years agoclass: make class tmp directory configurable, not /tmp
Sage Weil [Wed, 7 Jul 2010 22:04:33 +0000 (15:04 -0700)]
class: make class tmp directory configurable, not /tmp

/tmp usually gets mounted with 'noexec', making it a poor choice.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agologger: shut up
Sage Weil [Wed, 7 Jul 2010 21:41:15 +0000 (14:41 -0700)]
logger: shut up

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoconfig: can use '-' as a config option
Yehuda Sadeh [Wed, 7 Jul 2010 21:59:44 +0000 (14:59 -0700)]
config: can use '-' as a config option

15 years agomsgr: remove fake orig_source_addr fakery
Sage Weil [Wed, 7 Jul 2010 21:33:33 +0000 (14:33 -0700)]
msgr: remove fake orig_source_addr fakery

This makes get_orig_*() match get_*().

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomon: fix message forwarding to use Connection to fake source addr
Sage Weil [Wed, 7 Jul 2010 21:32:48 +0000 (14:32 -0700)]
mon: fix message forwarding to use Connection to fake source addr

This make get_source_addr() work (not just get_orig_source_addr()).

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: do not strip cosd
Sage Weil [Wed, 7 Jul 2010 17:23:56 +0000 (10:23 -0700)]
debian: do not strip cosd

15 years agoclasshandler: print error when dlopen fails
Sage Weil [Wed, 7 Jul 2010 17:24:05 +0000 (10:24 -0700)]
classhandler: print error when dlopen fails

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph: drop version from ceph_fs.h, use autoconf VERSION macro instead
Sage Weil [Wed, 7 Jul 2010 15:24:13 +0000 (08:24 -0700)]
ceph: drop version from ceph_fs.h, use autoconf VERSION macro instead

There's no reason to define this in the code anymore.  Since the kernel
side doesn't use it it just confuses matters.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoshell script fixes
Fred Ar [Wed, 7 Jul 2010 14:47:57 +0000 (07:47 -0700)]
shell script fixes

15 years agomds: fix logger init on startup, rank symlink creation
Sage Weil [Wed, 7 Jul 2010 14:38:55 +0000 (07:38 -0700)]
mds: fix logger init on startup, rank symlink creation

Busted by 83d1ea6636dd432dcbb6a0c6046d551bee7be5c6.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: do not strip rados classes
Sage Weil [Tue, 6 Jul 2010 23:47:36 +0000 (16:47 -0700)]
debian: do not strip rados classes

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: add postinst, postrm for ceph package
Sage Weil [Tue, 6 Jul 2010 23:40:44 +0000 (16:40 -0700)]
debian: add postinst, postrm for ceph package

This will keep debain from using the default, which thinks it needs to run
ldconfig.  Which it doesn't.

15 years agoMakefile: cleanup
Sage Weil [Tue, 6 Jul 2010 23:20:07 +0000 (16:20 -0700)]
Makefile: cleanup

15 years agodebian: put rbd classes in ceph, not librados1 package
Sage Weil [Tue, 6 Jul 2010 23:13:44 +0000 (16:13 -0700)]
debian: put rbd classes in ceph, not librados1 package

The cluster classes are a server-side thing, not client lib thing.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: consolidate osd stats in _refresh_my_stats
Sage Weil [Tue, 6 Jul 2010 23:08:47 +0000 (16:08 -0700)]
osd: consolidate osd stats in _refresh_my_stats

Also keep local copy of osd_stat (send with pg stats update to monitor).

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: include rados-classes
Sage Weil [Tue, 6 Jul 2010 23:05:43 +0000 (16:05 -0700)]
debian: include rados-classes

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agocclass: $libdir/rados-classes
Sage Weil [Tue, 6 Jul 2010 22:56:11 +0000 (15:56 -0700)]
cclass: $libdir/rados-classes

15 years agologger: huge rewrite, cleanup
Sage Weil [Wed, 7 Jul 2010 04:12:33 +0000 (21:12 -0700)]
logger: huge rewrite, cleanup

- name *.log
- name after name, not rank
- reopen on sighup
- remove pointer on shutdown
- clean up interface
- implement reset (truncate/reopen file)
- rotate logs

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoauth: rename supported_auth -> auth_supported
Sage Weil [Mon, 5 Jul 2010 23:23:42 +0000 (16:23 -0700)]
auth: rename supported_auth -> auth_supported

It should be 'auth supported' for naming consistency.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: handle_client_session now careful opening mds sessions while unmounting
Greg Farnum [Tue, 6 Jul 2010 22:12:06 +0000 (15:12 -0700)]
client: handle_client_session now careful opening mds sessions while unmounting

15 years agoclient: put MDSSession pointers in the msd_session map, rather than the sessions...
Greg Farnum [Tue, 6 Jul 2010 20:44:38 +0000 (13:44 -0700)]
client: put MDSSession pointers in the msd_session map, rather than the sessions themselves.
This is a bit cleaner and clears the way to make it more closely mimic the kernel.

15 years agopaxos: send summary if observer has fallen behind first_committed
Sage Weil [Mon, 5 Jul 2010 17:27:11 +0000 (10:27 -0700)]
paxos: send summary if observer has fallen behind first_committed

This avoids a ceph crash like

mon/PGMap.h: In function 'void PGMap::apply_incremental(PGMap::Incremental&)':
mon/PGMap.h:77: FAILED assert(inc.version == version+1)
 1: (PGMap::apply_incremental(PGMap::Incremental&)+0x50) [0x5a5f22]
 2: (handle_notify(MMonObserveNotify*)+0x2c7) [0x567c53]
 3: (Admin::ms_dispatch(Message*)+0x52) [0x5aa042]
 4: (Messenger::ms_deliver_dispatch(Message*)+0x55) [0x5be389]
 5: (SimpleMessenger::dispatch_entry()+0x50f) [0x5ad3fb]
 6: (SimpleMessenger::DispatchThread::entry()+0x29) [0x597323]
 7: (Thread::_entry_func(void*)+0x20) [0x5b91c8]
 8: /lib/libpthread.so.0 [0x7f31185fd73a]
 9: (clone()+0x6d) [0x7f311782769d]

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomsgr: immediately drop messages with null dest
Sage Weil [Mon, 5 Jul 2010 16:34:29 +0000 (09:34 -0700)]
msgr: immediately drop messages with null dest

This avoids spawning a new pipe and then failing to connect to a bad
address.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: fix handle_dentry_unlink to handle remote unlink (no straydn)
Sage Weil [Tue, 6 Jul 2010 21:48:37 +0000 (14:48 -0700)]
mds: fix handle_dentry_unlink to handle remote unlink (no straydn)

The straydn is optional, and NULL if we're unlinking a remote dentry.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: be less noisy about memory usage in log
Sage Weil [Tue, 6 Jul 2010 21:34:04 +0000 (14:34 -0700)]
mds: be less noisy about memory usage in log

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoceph: --in-file, not --in-data
Sage Weil [Tue, 6 Jul 2010 20:02:09 +0000 (13:02 -0700)]
ceph: --in-file, not --in-data

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: track pg_num by type in logger
Sage Weil [Tue, 6 Jul 2010 19:47:19 +0000 (12:47 -0700)]
osd: track pg_num by type in logger

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agolibrados: add pool set_snap_context
Sage Weil [Tue, 6 Jul 2010 19:27:23 +0000 (12:27 -0700)]
librados: add pool set_snap_context

Set the snap context for a given pool handle.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoclient: take the first inode as root, rather than whatever comes out
Greg Farnum [Tue, 6 Jul 2010 19:02:18 +0000 (12:02 -0700)]
client: take the first inode as root, rather than whatever comes out
with ino=1.

Also, translate root inode properly in fuse_ll.

15 years agoceph.spec: install /etc/logrotate.d/ceph
Sage Weil [Tue, 6 Jul 2010 18:53:11 +0000 (11:53 -0700)]
ceph.spec: install /etc/logrotate.d/ceph

15 years agoosd: document some of the logger stats
Sage Weil [Tue, 6 Jul 2010 17:53:41 +0000 (10:53 -0700)]
osd: document some of the logger stats

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agorbdtool: modify usage
Yehuda Sadeh [Tue, 6 Jul 2010 17:58:57 +0000 (10:58 -0700)]
rbdtool: modify usage

15 years agoconfig: allow optional parameters
Yehuda Sadeh [Tue, 6 Jul 2010 17:58:19 +0000 (10:58 -0700)]
config: allow optional parameters

15 years agomds: do not include snapped inodes in EOpen or LogSegment::open_files
Sage Weil [Tue, 6 Jul 2010 17:24:47 +0000 (10:24 -0700)]
mds: do not include snapped inodes in EOpen or LogSegment::open_files

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: print useful error on malformed EOpen event
Sage Weil [Tue, 6 Jul 2010 17:13:58 +0000 (10:13 -0700)]
mds: print useful error on malformed EOpen event

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMakefile: drop unnecessary dist-hook for make_version
Sage Weil [Mon, 5 Jul 2010 23:03:30 +0000 (16:03 -0700)]
Makefile: drop unnecessary dist-hook for make_version

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: simplify release.sh
Sage Weil [Mon, 5 Jul 2010 23:02:28 +0000 (16:02 -0700)]
debian: simplify release.sh

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMakefile: distribute check_version
Sage Weil [Mon, 5 Jul 2010 23:01:16 +0000 (16:01 -0700)]
Makefile: distribute check_version

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoradosgw: fix usage syntax
Yehuda Sadeh [Tue, 6 Jul 2010 17:22:41 +0000 (10:22 -0700)]
radosgw: fix usage syntax

That fixes bug #256.

15 years agomount.ceph: ignore noauto, _netdev options
Sage Weil [Mon, 5 Jul 2010 18:54:11 +0000 (11:54 -0700)]
mount.ceph: ignore noauto, _netdev options

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: include libcls_rbd.so.*
Fred Ar [Mon, 5 Jul 2010 15:58:54 +0000 (08:58 -0700)]
debian: include libcls_rbd.so.*

Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>