]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agoconfig: Error out when you can't parse an addr from the config file.
Greg Farnum [Fri, 30 Jul 2010 07:28:52 +0000 (00:28 -0700)]
config: Error out when you can't parse an addr from the config file.

Also, fix up a few other addr parsing cases to break properly!

15 years agoosd: use the client_messenger for the logclient.
Greg Farnum [Thu, 29 Jul 2010 22:28:35 +0000 (15:28 -0700)]
osd: use the client_messenger for the logclient.

15 years agoosdmap: remove unused versions of get_[cluster_]inst
Greg Farnum [Thu, 29 Jul 2010 21:20:31 +0000 (14:20 -0700)]
osdmap: remove unused versions of get_[cluster_]inst

15 years agoOSD: use get_cluster_inst instead of get_inst when checking other OSD instances
Greg Farnum [Thu, 29 Jul 2010 20:58:05 +0000 (13:58 -0700)]
OSD: use get_cluster_inst instead of get_inst when checking other OSD instances

15 years agoosd: when checking OSD identities via require_same_or_newer_map, use cluster_addr
Greg Farnum [Thu, 29 Jul 2010 17:58:52 +0000 (10:58 -0700)]
osd: when checking OSD identities via require_same_or_newer_map, use cluster_addr

15 years agoosd: add Mutex and flag to cover execution of handle_map_lock.
Greg Farnum [Thu, 29 Jul 2010 17:24:14 +0000 (10:24 -0700)]
osd: add Mutex and flag to cover execution of handle_map_lock.
Fixes a crash when the cluster and client messenger both dispatch an
OSDMap and their handling gets intertwined.

15 years agoosd: be more careful with cluster/client messenger use.
Greg Farnum [Thu, 15 Jul 2010 20:52:46 +0000 (13:52 -0700)]
osd: be more careful with cluster/client messenger use.

15 years agoosd: register the OSD on cluster_messenger if needed
Greg Farnum [Thu, 15 Jul 2010 18:26:04 +0000 (11:26 -0700)]
osd: register the OSD on cluster_messenger if needed

15 years agoconfig: correctly notify when OPT_ADDR config options are found.
Greg Farnum [Mon, 12 Jul 2010 18:32:23 +0000 (11:32 -0700)]
config: correctly notify when OPT_ADDR config options are found.

15 years agoconfig: add OPT_ADDR type, move "public_addr"/"cluster_addr" processing there
Greg Farnum [Fri, 9 Jul 2010 18:58:48 +0000 (11:58 -0700)]
config: add OPT_ADDR type, move "public_addr"/"cluster_addr" processing there
Necessary side effect: move public_addr/cluster_addr into g_conf.

15 years agomessages: add cluster_addr to MOSDBoot, use it in OSD and OSDMonitor
Greg Farnum [Thu, 8 Jul 2010 22:51:07 +0000 (15:51 -0700)]
messages: add cluster_addr to MOSDBoot, use it in OSD and OSDMonitor

15 years agocosd: move messenger existence checks to where they're useful
Greg Farnum [Thu, 8 Jul 2010 22:14:05 +0000 (15:14 -0700)]
cosd: move messenger existence checks to where they're useful

15 years agocosd: create separate cluster/client messengers if separate addresses are provided.
Greg Farnum [Thu, 8 Jul 2010 22:12:14 +0000 (15:12 -0700)]
cosd: create separate cluster/client messengers if separate addresses are provided.

15 years agomsgr: set up bind and Accepter::bind to take in addresses and bind to them
Greg Farnum [Thu, 8 Jul 2010 22:11:01 +0000 (15:11 -0700)]
msgr: set up bind and Accepter::bind to take in addresses and bind to them

15 years agoconfig: rename g_my_addr to g_public_addr, add g_cluster_addr
Greg Farnum [Thu, 8 Jul 2010 22:10:22 +0000 (15:10 -0700)]
config: rename g_my_addr to g_public_addr, add g_cluster_addr

15 years agoosdmap: move osd_cluster_addr decoding, and make sure that size matches osd_addr
Greg Farnum [Thu, 8 Jul 2010 19:06:08 +0000 (12:06 -0700)]
osdmap: move osd_cluster_addr decoding, and make sure that size matches osd_addr

15 years agoosdmap: Make sure osd_cluster_addr matches osd_addr size on decode
Greg Farnum [Thu, 8 Jul 2010 18:30:13 +0000 (11:30 -0700)]
osdmap: Make sure osd_cluster_addr matches osd_addr size on decode

15 years agoosd: remove messenger pointer, fix calls to it in PG and ReplicatedPG
Greg Farnum [Thu, 8 Jul 2010 18:29:46 +0000 (11:29 -0700)]
osd: remove messenger pointer, fix calls to it in PG and ReplicatedPG

15 years agoosd: use cluster/client_messenger as appropriate.
Greg Farnum [Wed, 7 Jul 2010 23:23:43 +0000 (16:23 -0700)]
osd: use cluster/client_messenger as appropriate.

Modify send_incremental_map to choose based on the type of the entity.

15 years agoosdmap: add osd_cluster_addr to full map
Greg Farnum [Wed, 7 Jul 2010 22:15:22 +0000 (15:15 -0700)]
osdmap: add osd_cluster_addr to full map
Include it in lookups and add get_cluster_inst et al to match get_inst et al

15 years agoosd: make new cluster_messenger, client_messenger pointers.
Greg Farnum [Wed, 7 Jul 2010 20:47:32 +0000 (13:47 -0700)]
osd: make new cluster_messenger, client_messenger pointers.

Don't remove old messenger, just alias it to client_messenger.

15 years agoosdmap: make room in incremental for separate cluster/client OSD addrs.
Greg Farnum [Wed, 7 Jul 2010 18:59:45 +0000 (11:59 -0700)]
osdmap: make room in incremental for separate cluster/client OSD addrs.

15 years agoMerge branch 'testing' into unstable
Sage Weil [Tue, 3 Aug 2010 16:43:09 +0000 (09:43 -0700)]
Merge branch 'testing' into unstable

15 years agoassert: only include acconfig.h ifdef __CEPH__
Sage Weil [Tue, 3 Aug 2010 16:42:26 +0000 (09:42 -0700)]
assert: only include acconfig.h ifdef __CEPH__

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agolibrados.hpp fix
Takuya ASADA [Tue, 3 Aug 2010 12:21:10 +0000 (21:21 +0900)]
librados.hpp fix

[ The following text is in the "UTF-8" character set. ]
    [ Your display is set for the "iso-8859-1" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi,

I just realized librados.hpp could compile only if "using namespace
std;" is declared before "#include <rados/librados.hpp>", because
"vector" used without std namespace, and I think it's wrong.
It can fix following patch.

syuu

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomon: fix signed/unsigned compile warning
Sage Weil [Thu, 29 Jul 2010 18:37:17 +0000 (11:37 -0700)]
mon: fix signed/unsigned compile warning

15 years agoosd: fix map sharing with old heartbeat peers
Sage Weil [Tue, 3 Aug 2010 16:36:55 +0000 (09:36 -0700)]
osd: fix map sharing with old heartbeat peers

The addr is in old_inst, since it's an old peer.  Fixes a crash like

osd/OSD.cc: In function 'void OSD::_share_map_outgoing(const entity_inst_t&)':
osd/OSD.cc:1791: FAILED assert(inst.name.is_osd())
 1: (OSD::update_heartbeat_peers()+0x1d3f) [0x4da66f]
 2: (OSD::activate_map(ObjectStore::Transaction&, std::list<Context*, std::allocator<Context*> >&)+0x8ee) [0x4db61e]
 3: (OSD::handle_osd_map(MOSDMap*)+0x233a) [0x4e506a]
 4: (OSD::_dispatch(Message*)+0x230) [0x4ef400]
 5: (OSD::ms_dispatch(Message*)+0x39) [0x4efe39]
 6: (SimpleMessenger::dispatch_entry()+0x749) [0x461fa9]
 7: (SimpleMessenger::DispatchThread::entry()+0x1c) [0x458f6c]
 8: (Thread::_entry_func(void*)+0xa) [0x46cf1a]
 9: (()+0x69ca) [0x7f978d6fb9ca]
 10: (clone()+0x6d) [0x7f978c91b6cd]

introduced by 9bfb8da9f925642bca46528a999124cd8b28ba2a.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomds: fix cap encoding skipping when snaprealm differs
Sage Weil [Mon, 2 Aug 2010 23:27:18 +0000 (16:27 -0700)]
mds: fix cap encoding skipping when snaprealm differs

We were avoiding adding a new cap, but _any_ issue is problematic, not just
adds (which we can't really be sure about anyway due to races with client
cap release).

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosdmap: show flags
Sage Weil [Mon, 2 Aug 2010 23:01:44 +0000 (16:01 -0700)]
osdmap: show flags

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMerge branch 'locks' into unstable
Greg Farnum [Mon, 2 Aug 2010 22:36:26 +0000 (15:36 -0700)]
Merge branch 'locks' into unstable

15 years agomsgr: Add CEPH_FEATURE_FLOCK to default features set, remove extraneous data from...
Greg Farnum [Mon, 2 Aug 2010 17:39:40 +0000 (10:39 -0700)]
msgr: Add CEPH_FEATURE_FLOCK to default features set, remove extraneous data from protocol

15 years agoceph_fs: use __le64 instead of __u64 for over-the-wire data
Greg Farnum [Thu, 24 Jun 2010 00:11:42 +0000 (17:11 -0700)]
ceph_fs: use __le64 instead of __u64 for over-the-wire data

15 years agomds: new low-level debug output, and turn down previous debugs
Greg Farnum [Tue, 18 May 2010 18:45:26 +0000 (11:45 -0700)]
mds: new low-level debug output, and turn down previous debugs

15 years agodebian: add ceph-client-tools dep to ceph
Thomas Mueller [Mon, 2 Aug 2010 20:27:16 +0000 (13:27 -0700)]
debian: add ceph-client-tools dep to ceph

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: move utils rbd,rados,csyn to ceph-client-tools
Thomas Mueller [Mon, 2 Aug 2010 16:27:22 +0000 (09:27 -0700)]
debian: move utils rbd,rados,csyn to ceph-client-tools

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agodebian: move mount.ceph to ceph-client-tools
Thomas Mueller [Mon, 2 Aug 2010 16:25:20 +0000 (09:25 -0700)]
debian: move mount.ceph to ceph-client-tools

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoMerge branch 'testing' into unstable
Sage Weil [Mon, 2 Aug 2010 20:26:23 +0000 (13:26 -0700)]
Merge branch 'testing' into unstable

15 years agodebian: move fuse-utils dep to ceph-fuse
Sage Weil [Mon, 2 Aug 2010 20:26:09 +0000 (13:26 -0700)]
debian: move fuse-utils dep to ceph-fuse

Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agocclass: fix .so loading file
Christian Brunner [Mon, 2 Aug 2010 19:58:30 +0000 (21:58 +0200)]
cclass: fix .so loading file

The only thing I've found, is that the *.so files are included in the -devel
rpm. This leads to the fact that the 'find' in cclass doesn't return any
files. I'd suggest the attached change in the script.

Christian

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: send latest osdmap when we stop sending heartbeats to peer
Sage Weil [Mon, 2 Aug 2010 20:11:22 +0000 (13:11 -0700)]
osd: send latest osdmap when we stop sending heartbeats to peer

Otherwise, they may still expect them, and may mark us down.

15 years agoosd: avoid most of handle_osd_map if there are no new maps in message
Sage Weil [Mon, 2 Aug 2010 19:57:36 +0000 (12:57 -0700)]
osd: avoid most of handle_osd_map if there are no new maps in message

We don't want to take the time to flush things to disk and shut down all
the worker threads if there is nothing new in the osdmap update (as is
usually the case).

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: send heartbeat request from update_heartbeat_peers
Sage Weil [Mon, 2 Aug 2010 20:12:29 +0000 (13:12 -0700)]
osd: send heartbeat request from update_heartbeat_peers

This keeps our from_stamps in a consistent state, and sends the hb request
sooner rather than later.

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomon: drop redundant pg_temp mappings
Sage Weil [Fri, 30 Jul 2010 20:16:24 +0000 (13:16 -0700)]
mon: drop redundant pg_temp mappings

15 years agomon: make backward-compat mon id's start at '0', not 'a'
Sage Weil [Thu, 29 Jul 2010 21:16:47 +0000 (14:16 -0700)]
mon: make backward-compat mon id's start at '0', not 'a'

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoosd: add asserts when indexing pg log by reqid
Sage Weil [Mon, 2 Aug 2010 19:32:06 +0000 (12:32 -0700)]
osd: add asserts when indexing pg log by reqid

This should help catch callers that submit dup entries with the same
request id, causing other problems down the line.

15 years agomds: recover filelocks properly on client reconnect
Greg Farnum [Tue, 18 May 2010 16:02:27 +0000 (09:02 -0700)]
mds: recover filelocks properly on client reconnect

15 years agomds: debug output and some comments.
Greg Farnum [Mon, 17 May 2010 22:18:24 +0000 (15:18 -0700)]
mds: debug output and some comments.

15 years agomds: locking. Compare iterator to right list!
Greg Farnum [Mon, 17 May 2010 22:17:28 +0000 (15:17 -0700)]
mds: locking. Compare iterator to right list!

15 years agomds: locking. Fix waiting lock count map deletion
Greg Farnum [Mon, 17 May 2010 22:14:58 +0000 (15:14 -0700)]
mds: locking. Fix waiting lock count map deletion

15 years agomds: drop distributed locks on waiting filelock messages, so they don't block
Greg Farnum [Mon, 17 May 2010 22:14:03 +0000 (15:14 -0700)]
mds: drop distributed locks on waiting filelock messages, so they don't block

15 years agomds: better printing on lock messages
Greg Farnum [Fri, 14 May 2010 23:53:12 +0000 (16:53 -0700)]
mds: better printing on lock messages

15 years agomds: replace accidnetal __u64 with uint64_t
Greg Farnum [Fri, 14 May 2010 20:42:07 +0000 (13:42 -0700)]
mds: replace accidnetal __u64 with uint64_t

15 years agomds: Determine if there are file locks based on flockbl size, not dirty cap bit
Greg Farnum [Thu, 13 May 2010 21:20:17 +0000 (14:20 -0700)]
mds: Determine if there are file locks based on flockbl size, not dirty cap bit

15 years agomds: need to size values read from a bufferlist
Greg Farnum [Thu, 13 May 2010 19:04:43 +0000 (12:04 -0700)]
mds: need to size values read from a bufferlist

15 years agomds: handle file locking in MClientCaps on a reconnect.
Greg Farnum [Wed, 12 May 2010 21:08:33 +0000 (14:08 -0700)]
mds: handle file locking in MClientCaps on a reconnect.

15 years agomds: locking. remove ceph_filelock* lists and replace with iter lists
Greg Farnum [Wed, 12 May 2010 18:08:56 +0000 (11:08 -0700)]
mds: locking. remove ceph_filelock* lists and replace with iter lists
This allows for more efficient deletion of elements.

15 years agomds: Fix ceph_lock_state_t to use uint64_t
Greg Farnum [Tue, 11 May 2010 22:52:29 +0000 (15:52 -0700)]
mds: Fix ceph_lock_state_t to use uint64_t

15 years agomds: locks. Fix possible naughty dereference, and fix existence checks
Greg Farnum [Tue, 11 May 2010 22:27:40 +0000 (15:27 -0700)]
mds: locks. Fix possible naughty dereference, and fix existence checks

15 years agomds: locking. Keep trap of neighbors and coalesce them
Greg Farnum [Tue, 11 May 2010 20:01:32 +0000 (13:01 -0700)]
mds: locking. Keep trap of neighbors and coalesce them

15 years agomds: locking. remove zero-valued client held/waiting lock counts from the map.
Greg Farnum [Tue, 11 May 2010 17:22:14 +0000 (10:22 -0700)]
mds: locking. remove zero-valued client held/waiting lock counts from the map.

In the unlikely event that you have a very large cluster doing a lot of
locking of different files amongst the whole cluster, this will keep
memory use down.

15 years agomds: Move lock print function; add debugging; fix fencepost errors.
Greg Farnum [Mon, 10 May 2010 22:42:49 +0000 (15:42 -0700)]
mds: Move lock print function; add debugging; fix fencepost errors.

15 years agoceph_fs: CEPH_LOCK_UNLOCK should have its own bit, for safety
Greg Farnum [Mon, 10 May 2010 22:41:03 +0000 (15:41 -0700)]
ceph_fs: CEPH_LOCK_UNLOCK should have its own bit, for safety

15 years agomds: use the right size mask for file cap bits
Greg Farnum [Fri, 30 Apr 2010 23:45:29 +0000 (16:45 -0700)]
mds: use the right size mask for file cap bits

15 years agoceph_fs: Add cap bits for advisory file locks
Greg Farnum [Fri, 30 Apr 2010 23:24:30 +0000 (16:24 -0700)]
ceph_fs: Add cap bits for advisory file locks

15 years agomds: Remove unnecessary if check.
Greg Farnum [Fri, 30 Apr 2010 19:50:32 +0000 (12:50 -0700)]
mds: Remove unnecessary if check.

We already know that head_in exists, or we would have entered the previous
if-block and returned from the function.

15 years agomds: Now actually requeues blocked locks whenever locks are removed.
Greg Farnum [Thu, 29 Apr 2010 23:09:27 +0000 (16:09 -0700)]
mds: Now actually requeues blocked locks whenever locks are removed.

15 years agomds: fcntl locks can efficiently remove all locks from one client.
Greg Farnum [Fri, 30 Apr 2010 17:13:20 +0000 (10:13 -0700)]
mds: fcntl locks can efficiently remove all locks from one client.

15 years agomds: fcntl. Keep track of how many locks/waiting locks each client has.
Greg Farnum [Thu, 29 Apr 2010 23:01:57 +0000 (16:01 -0700)]
mds: fcntl. Keep track of how many locks/waiting locks each client has.

15 years agomds: implement look_for_lock, for fcntl F_GETLK-style things
Greg Farnum [Thu, 29 Apr 2010 23:00:10 +0000 (16:00 -0700)]
mds: implement look_for_lock, for fcntl F_GETLK-style things

15 years agomds: ceph_filelock and filelock_change need to be explicitly sized
Greg Farnum [Thu, 29 Apr 2010 20:35:46 +0000 (13:35 -0700)]
mds: ceph_filelock and filelock_change need to be explicitly sized

15 years agomds: cleanup
Sage Weil [Thu, 29 Apr 2010 20:14:34 +0000 (13:14 -0700)]
mds: cleanup

15 years agomds: Implement file lock message handling.
Greg Farnum [Thu, 29 Apr 2010 19:02:40 +0000 (12:02 -0700)]
mds: Implement file lock message handling.

15 years agomds: add distributed lock support for fcntl/flock support
Greg Farnum [Wed, 21 Apr 2010 22:01:29 +0000 (15:01 -0700)]
mds: add distributed lock support for fcntl/flock support

15 years agomds: fcntl. add proper encoding to ceph_filelock and ceph_lock_state_t
Greg Farnum [Thu, 29 Apr 2010 17:49:07 +0000 (10:49 -0700)]
mds: fcntl. add proper encoding to ceph_filelock and ceph_lock_state_t

15 years agomds: fnctl. finish remove_locks so it'll activate whichever locks it can.
Greg Farnum [Tue, 27 Apr 2010 00:33:19 +0000 (17:33 -0700)]
mds: fnctl. finish remove_locks so it'll activate whichever locks it can.

This is lazy but it should work.

15 years agomds: fnctl. add get_waiting_overlaps function; fix get_overlapped locks
Greg Farnum [Tue, 27 Apr 2010 00:10:52 +0000 (17:10 -0700)]
mds: fnctl. add get_waiting_overlaps function; fix get_overlapped locks
so that it won't do bad things if there aren't any.

15 years agomds: fnctl. implement half of remove_lock.
Greg Farnum [Mon, 26 Apr 2010 23:35:31 +0000 (16:35 -0700)]
mds: fnctl. implement half of remove_lock.

Still need to handle all the waiting_locks and set them if proper.

15 years agomds: fnctl. implement adjust_locks method, with helpers
Greg Farnum [Fri, 23 Apr 2010 21:27:59 +0000 (14:27 -0700)]
mds: fnctl. implement adjust_locks method, with helpers

15 years agomds: fcntl. implement add_lock function
Greg Farnum [Fri, 23 Apr 2010 18:51:14 +0000 (11:51 -0700)]
mds: fcntl. implement add_lock function
Still need to write some of the helpers

15 years agomds: fcntl. add skeleton [add, remove]_lock functions.
Greg Farnum [Thu, 22 Apr 2010 18:30:34 +0000 (11:30 -0700)]
mds: fcntl. add skeleton [add, remove]_lock functions.
Implement helper functions to be used later.

15 years agomds: add messenging support for advisory file locking
Greg Farnum [Tue, 20 Apr 2010 21:45:30 +0000 (14:45 -0700)]
mds: add messenging support for advisory file locking

15 years agomsg: rename MClientReply::dir_bl to extra_bl. Fix uses
Greg Farnum [Wed, 28 Apr 2010 23:55:11 +0000 (16:55 -0700)]
msg: rename MClientReply::dir_bl to extra_bl. Fix uses

15 years agomds: conditionally include flock metadata in MClientReconnect
Sage Weil [Tue, 11 May 2010 20:31:19 +0000 (13:31 -0700)]
mds: conditionally include flock metadata in MClientReconnect

mds: move flockbl into each reconnect record

Simpler for the client side.

mds: keep old reconnect struct

mds: put flock blob len in ceph_mds_cap_reconnect struct

encode realms the old way

15 years agomds: conditionally include flock metadata in MClientCaps
Sage Weil [Tue, 11 May 2010 20:31:37 +0000 (13:31 -0700)]
mds: conditionally include flock metadata in MClientCaps

15 years agomds: remove size, mtime, atime from cap reconnect
Sage Weil [Tue, 11 May 2010 20:20:49 +0000 (13:20 -0700)]
mds: remove size, mtime, atime from cap reconnect

15 years agomds: make mislinked dentry during replay workaround tolerate directories, too
Sage Weil [Mon, 2 Aug 2010 16:57:12 +0000 (09:57 -0700)]
mds: make mislinked dentry during replay workaround tolerate directories, too

This should probably all go away when the original bug is fixed!

15 years agomove logrotate conf out of debian/ to fix ceph.spec
Sage Weil [Mon, 2 Aug 2010 16:15:34 +0000 (09:15 -0700)]
move logrotate conf out of debian/ to fix ceph.spec

15 years agoauth: fix cast
Wido den Hollander [Sat, 31 Jul 2010 16:14:21 +0000 (09:14 -0700)]
auth: fix cast

15 years agorgw: Support a loglevel of 0
Wido den Hollander [Thu, 29 Jul 2010 11:56:02 +0000 (13:56 +0200)]
rgw: Support a loglevel of 0

15 years agocauthtool: correct man page sample of minimal fs client caps
Sage Weil [Fri, 30 Jul 2010 23:35:59 +0000 (16:35 -0700)]
cauthtool: correct man page sample of minimal fs client caps

15 years agorgw: fix setting acls on the bucket
Yehuda Sadeh [Fri, 30 Jul 2010 23:11:07 +0000 (16:11 -0700)]
rgw: fix setting acls on the bucket

15 years agomove mkcephfs to /sbin
Sage Weil [Fri, 30 Jul 2010 19:06:10 +0000 (12:06 -0700)]
move mkcephfs to /sbin

15 years agodebian: more cleanups
Sage Weil [Fri, 30 Jul 2010 19:05:55 +0000 (12:05 -0700)]
debian: more cleanups

https://code.launchpad.net/~clint-fewbar/review-new-branches/ceph-new-pkg/+merge/31303

15 years agoauth: define AES iv in common header
Sage Weil [Fri, 30 Jul 2010 17:24:45 +0000 (10:24 -0700)]
auth: define AES iv in common header

Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoadd files to .gitignore
Thomas Mueller [Fri, 30 Jul 2010 06:19:53 +0000 (08:19 +0200)]
add files to .gitignore

add generated files to gitignore.

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agoredirect stdout to /dev/null when reloading
Thomas Mueller [Fri, 30 Jul 2010 06:14:16 +0000 (08:14 +0200)]
redirect stdout to /dev/null when reloading

the reload command prints to stdout. example:

# service ceph reload
=== mon.0 ===
Reloading Ceph mon0 on hoe001...kill -1 22197...done
=== osd.0 ===
Reloading Ceph osd0 on hoe001...kill -1 22263...done

"properly" configured systems will send the output by mail to
the administrator - this is not desired in case of successfull
reloading.

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomonclient: use default port if not specified via -m
Sage Weil [Thu, 29 Jul 2010 22:49:27 +0000 (15:49 -0700)]
monclient: use default port if not specified via -m

Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
15 years agomon: we support MONNAMES feature
Sage Weil [Thu, 29 Jul 2010 20:32:27 +0000 (13:32 -0700)]
mon: we support MONNAMES feature

15 years agoMerge branch 'unstable' into mon-remove
Sage Weil [Thu, 29 Jul 2010 20:24:08 +0000 (13:24 -0700)]
Merge branch 'unstable' into mon-remove

Conflicts:
src/cmon.cc
src/include/ceph_fs.h
src/mon/MonClient.cc
src/mon/Monitor.cc

15 years agomon: fix signed/unsigned compile warning
Sage Weil [Thu, 29 Jul 2010 18:37:17 +0000 (11:37 -0700)]
mon: fix signed/unsigned compile warning