Sage Weil
cf38e86e81
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>
2010-07-07 15:56:23 -07:00
Sage Weil
2096d8d77e
logger: shut up
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-07 14:41:15 -07:00
Yehuda Sadeh
d5e3962a72
config: can use '-' as a config option
2010-07-07 15:00:35 -07:00
Sage Weil
019899030a
msgr: remove fake orig_source_addr fakery
...
This makes get_orig_*() match get_*().
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-07 14:33:33 -07:00
Sage Weil
6ae95b6cf9
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>
2010-07-07 14:32:48 -07:00
Sage Weil
243491ef7c
debian: do not strip cosd
2010-07-07 12:50:54 -07:00
Sage Weil
ed66dd578c
classhandler: print error when dlopen fails
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-07 12:50:53 -07:00
Sage Weil
cc5fcb99d5
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>
2010-07-07 08:24:13 -07:00
Fred Ar
6cca139f0a
shell script fixes
2010-07-07 07:47:57 -07:00
Sage Weil
9432a95889
mds: fix logger init on startup, rank symlink creation
...
Busted by 83d1ea6636
.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-07 07:38:55 -07:00
Sage Weil
f6e1fd53ce
debian: do not strip rados classes
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-07 07:36:50 -07:00
Sage Weil
a321ae432f
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.
2010-07-07 07:36:50 -07:00
Sage Weil
4fb67c3150
Makefile: cleanup
2010-07-07 07:36:50 -07:00
Sage Weil
0bf19e5a69
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>
2010-07-07 07:36:50 -07:00
Sage Weil
8d2393c0a5
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>
2010-07-07 07:36:50 -07:00
Sage Weil
929f67215c
debian: include rados-classes
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-07 07:36:50 -07:00
Sage Weil
b0e6e4f173
cclass: $libdir/rados-classes
2010-07-07 07:36:50 -07:00
Sage Weil
83d1ea6636
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>
2010-07-06 21:12:44 -07:00
Sage Weil
1ca446dd9a
auth: rename supported_auth -> auth_supported
...
It should be 'auth supported' for naming consistency.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 21:12:44 -07:00
Greg Farnum
74bd8d777d
client: handle_client_session now careful opening mds sessions while unmounting
2010-07-06 15:14:23 -07:00
Greg Farnum
0c345a9853
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.
2010-07-06 15:14:23 -07:00
Sage Weil
c39ee59474
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>
2010-07-06 15:00:19 -07:00
Sage Weil
5b097603e7
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>
2010-07-06 15:00:19 -07:00
Sage Weil
a40631fbda
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>
2010-07-06 14:48:37 -07:00
Sage Weil
0fbb8eebd0
mds: be less noisy about memory usage in log
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 14:34:04 -07:00
Sage Weil
08f740666b
ceph: --in-file, not --in-data
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 13:02:09 -07:00
Sage Weil
89a40b3ffb
osd: track pg_num by type in logger
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 12:47:19 -07:00
Sage Weil
013df04a70
librados: add pool set_snap_context
...
Set the snap context for a given pool handle.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 12:27:32 -07:00
Greg Farnum
84bca03089
client: take the first inode as root, rather than whatever comes out
...
with ino=1.
Also, translate root inode properly in fuse_ll.
2010-07-06 12:02:33 -07:00
Sage Weil
4a80e5e080
ceph.spec: install /etc/logrotate.d/ceph
2010-07-06 11:53:11 -07:00
Sage Weil
de668159fe
osd: document some of the logger stats
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:53:50 -07:00
Yehuda Sadeh
fdcc241311
rbdtool: modify usage
2010-07-06 10:59:22 -07:00
Yehuda Sadeh
cff705b5a5
config: allow optional parameters
2010-07-06 10:59:22 -07:00
Sage Weil
100b6776dd
mds: do not include snapped inodes in EOpen or LogSegment::open_files
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:24:47 -07:00
Sage Weil
a497c61611
mds: print useful error on malformed EOpen event
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:13:58 -07:00
Sage Weil
26b67ff83b
Makefile: drop unnecessary dist-hook for make_version
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:10:19 -07:00
Sage Weil
2950580556
debian: simplify release.sh
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:10:19 -07:00
Sage Weil
1d45074254
Makefile: distribute check_version
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-06 10:10:19 -07:00
Yehuda Sadeh
0f8099a088
radosgw: fix usage syntax
...
That fixes bug #256 .
2010-07-06 10:22:41 -07:00
Sage Weil
b0056ad0c0
mount.ceph: ignore noauto, _netdev options
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-05 11:54:11 -07:00
Fred Ar
b4336250f8
debian: include libcls_rbd.so.*
...
Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-05 08:59:53 -07:00
Fred Ar
e240a27783
cclsinfo: fixes for dash
...
Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-05 08:59:46 -07:00
Thomas Mueller
b150b68c91
ceph.spec.in: make -j and unpackaged files
...
* now that make -j<numprocs> works out of the box, add it to the spec
* added new unpackaged files
* the test binaries get installed with "--without-debug". omitting
"--without-debug" fixes the problem.
Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-05 08:51:48 -07:00
Sage Weil
5338e7dce6
Makefile: fix up ceph_ver.h autogeneration
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-04 14:52:53 -07:00
Sage Weil
d724d2cee0
Makefile: fix build when WITH_DEBUG not set
...
Signed-off-by: Fred Ar <ar.fred@yahoo.com>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-04 14:08:15 -07:00
Sage Weil
0e70f21ac3
debug: don't create rank symlink if log-file
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 21:29:22 -07:00
Sage Weil
d059aa62aa
client: update ctime on setattr(no mask)
...
This makes pjd happy (chown -1 -1 should bump ctime, apparently). The
kclient does the same trick: dirty any excl caps we have, otherwise do an
mds setattr(ctime) request.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 21:28:56 -07:00
Sage Weil
cf7d180cf4
client: return errors from setattr
...
Otherwise fuse just gets confused because the stat structure isn't filled
in and generates its own EIO.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 16:47:23 -07:00
Sage Weil
8b886df8f2
client: fix lookup error codes
...
The fuse glue was making all errors ENOENT, and _lookup didn't return
ENAMETOOLONG.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 16:38:04 -07:00
Sage Weil
377a531a54
client: better debug output
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 16:17:11 -07:00