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
Sage Weil
adf2f98033
client: return ENAMETOOLONG where appropriate
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 16:17:00 -07:00
Sage Weil
56cc68d125
qa: do untar_snap_rm on two different tarballs (medium and big)
2010-07-02 15:59:36 -07:00
Sage Weil
525063cc28
client: fix f_namemax returned by statfs
...
This was fixed in the kernel last month.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 15:59:36 -07:00
Sage Weil
e5cef56e3e
Makefile: make more random crap only build with WITH_DEBUG
...
This should be everything not packaged.
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 15:13:01 -07:00
Yehuda Sadeh
1b363dde22
rbdtool: implement import
...
still doesn't use fiemap
2010-07-02 15:28:04 -07:00
Greg Farnum
1cb1c25de4
client: remove typo
2010-07-02 11:59:44 -07:00
Greg Farnum
818e79398f
client: synchronize metadata on fsync, when requested.
2010-07-02 11:30:46 -07:00
Yehuda Sadeh
ec2c31d600
rbdtool: cleanup
2010-07-02 11:46:32 -07:00
Sage Weil
da9353e617
osd: cleanup: move pools can into advance_map()
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 11:03:12 -07:00
Sage Weil
d847a4fd3d
osd: fix null pg deref, put auid in PGPool, cleanup.
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 11:03:11 -07:00
Sage Weil
2170c64ba1
msgr: add config option to set stacksize of reader&writer threads
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 10:14:41 -07:00
Sage Weil
76d23923fc
thread: force stacksize to be multiple of page size; clean up
...
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 10:14:41 -07:00
Paul Chiang
86111a0a52
thread: allow setting stacksize when calling create & check return value of pthread_create
...
Signed-off-by: Paul Chiang <paul_chiang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 10:14:41 -07:00
Sage Weil
b031d11d20
update authors
2010-07-02 10:14:41 -07:00