Sage Weil
30561d8433
msgr: remove pid file on SIGINT, SIGTERM
2010-04-29 14:28:44 -07:00
Sage Weil
a31ea46f35
config: post-process default config options too
...
Previously we were only doing the ones we read out of the .conf.
2010-04-29 11:57:38 -07:00
Sage Weil
d1441462a0
config: post-process default config options too
...
Previously we were only doing the ones we read out of the .conf.
2010-04-29 11:56:49 -07:00
Sage Weil
318dfbeb80
mon: use (robust) buffer::list::write_fd() to write to disk
2010-04-29 10:43:55 -07:00
Sage Weil
63385d02e3
mon: use (robust) buffer::list::write_fd() to write to disk
2010-04-29 10:43:24 -07:00
Sage Weil
1f55b17594
mon: m->get_session() may return null if session has closed
...
because the session close clears connection->priv. We need to check at
each site anyway, either for null session, or for session->closed. So
check for null session.
Conflicts:
src/mon/Monitor.cc
src/mon/OSDMonitor.cc
src/mon/PGMonitor.cc
2010-04-29 10:27:02 -07:00
Sage Weil
84c386ea0d
mon: m->get_session() may return null if session has closed
...
because the session close clears connection->priv. We need to check at
each site anyway, either for null session, or for session->closed. So
check for null session.
2010-04-29 10:22:13 -07:00
Sage Weil
a846236ba5
configure: remove second AM_INIT_AUTOMAKE line
2010-04-28 15:55:22 -07:00
Sage Weil
6e7ff1a215
msgr: fix segfault sending msg on closed Connection/pipe
2010-04-28 14:22:48 -07:00
Sage Weil
48c086a5b5
string fix
2010-04-28 14:18:05 -07:00
Sage Weil
2e2222f803
msgr: fix segfault sending msg on closed Connection/pipe
2010-04-28 14:07:20 -07:00
Greg Farnum
59e77b353c
msgr: add message throttling; with a default max of 100MB waiting for dispatch
2010-04-28 13:56:43 -07:00
Sage Weil
b8cca8f34b
replace nstring with std::string
2010-04-28 13:45:55 -07:00
Sage Weil
07e1a2f6d3
throttle: add fairness
...
This assumes that SignalOne() will wake people up in the right order. Not
sure if that's true...
2010-04-28 10:36:30 -07:00
Sage Weil
218f031a37
mds: fix snaprealm split on capless inode
2010-04-26 14:51:15 -07:00
Sage Weil
f688ffabe6
mds: fix snaprealm split on capless inode
2010-04-26 14:08:27 -07:00
Sage Weil
b3bb8c608c
buffer: clean up namespace pollution
2010-04-26 14:08:19 -07:00
Yehuda Sadeh
6ec8870d08
poolop: rename and move definitions to ceph_fs.h
...
This was done so that we can use it in the kclient
2010-04-24 10:10:00 -07:00
Sage Weil
0decb33d4a
Makefile: define __CEPH__ in ceph builds. use it.
...
Avoid breakage when headers are used outside of ceph build (librados-dev)
2010-04-23 15:50:29 -07:00
Sage Weil
a6ee3aef93
mds: fix req use-after-free to get connection to direct reply
2010-04-23 15:22:34 -07:00
Greg Farnum
282b242828
atomic: reverse if test so we don't break things on separately-compiled librados
2010-04-23 15:13:35 -07:00
Greg Farnum
07dea4486a
mds: remove unused variable from Locker
2010-04-23 15:12:03 -07:00
Sage Weil
3ed1a55d51
debian: build-depends libatomicops-dev
2010-04-23 14:50:26 -07:00
Sage Weil
e5a2080db8
Merge branch 'snaps' into unstable
2010-04-23 14:47:39 -07:00
Sage Weil
8f5d5ea7c7
mon: clean up mon snap type checks
2010-04-23 14:46:57 -07:00
Sage Weil
cf8ce29d3c
osd: no error checking in data structure (caller should do it)
2010-04-23 14:42:49 -07:00
Sage Weil
ca464284ab
mon: don't create/delete unmanaged snaps if pool snaps exist
2010-04-23 14:42:49 -07:00
Sage Weil
4a53f1c65c
librados: clean up headres
2010-04-23 14:42:49 -07:00
Sage Weil
ec7ecc57a0
objecter: do pool op result parsing in Objecter completion wrapper
2010-04-23 14:42:48 -07:00
Greg Farnum
832c91921e
librados: Adjust snapid allocation ufnctions and implement new objecter spec
2010-04-23 14:42:48 -07:00
Greg Farnum
076517fb85
objecter: Implement bufferlist-based return code for pool ops
2010-04-23 14:42:48 -07:00
Greg Farnum
f612ab86b1
mon: OSDMonitor fills in MPoolOpReply's bufferlist on unmanaged snap creation
2010-04-23 14:42:48 -07:00
Greg Farnum
57064765b7
msg: Give MPoolOpReply a bufferlist for reply data
2010-04-23 14:42:48 -07:00
Greg Farnum
503c41e6b1
mon: change the unmanaged snap interface for better distinction of reply codes
...
and snapid numbers.
Of course, this now means that the snapid isn't actually passed
back to the client, but that is about to change.
2010-04-23 14:42:48 -07:00
Greg Farnum
0fb4a6e85a
librados: Set selfmanaged snap functions to use int instead of int64_t, too
2010-04-23 14:42:47 -07:00
Greg Farnum
39817b3df6
librados: add small bit of documentation, fix headers
2010-04-23 14:42:46 -07:00
Greg Farnum
4b0021fbe2
mon: don't crash if a client tries to self-manage managed snaps, or vice versa
2010-04-23 14:42:46 -07:00
Greg Farnum
d1d235e7b2
librados: add functions for client-managed snapshots in all the interfaces
2010-04-23 14:42:46 -07:00
Greg Farnum
5fb4e8fab3
objecter: New functions for client-managed snapshots.
2010-04-23 14:42:45 -07:00
Greg Farnum
eba044ce44
mon: OSDMonitor handles client-managed snapshot requests.
2010-04-23 14:42:45 -07:00
Greg Farnum
ac129d7895
osd: pg_pool_t gets new functions for unmanaged (ie, client-managed) snaps
2010-04-23 14:42:45 -07:00
Greg Farnum
5116700fdc
msg: Add space for snapid in MPoolOp. Reply now uses an int64_t replyCode.
...
This allows space for a full 64-bit snapid to be returned, which is about
to be necessary.
2010-04-23 14:42:45 -07:00
Sage Weil
4fda5f922b
msgr: fix atomic_t test
...
Missed this in merge 50285ecf5c
2010-04-23 14:30:23 -07:00
Sage Weil
5b6cfff36d
Merge branch 'atomic' into unstable
2010-04-23 14:22:41 -07:00
Sage Weil
50285ecf5c
Merge branch 'msgr' into unstable
...
Conflicts:
src/TODO
src/mds/Server.cc
src/msg/SimpleMessenger.cc
src/msg/SimpleMessenger.h
src/osd/OSD.cc
2010-04-23 14:22:04 -07:00
Sage Weil
756b251bac
v0.20
2010-04-23 12:10:24 -07:00
Sage Weil
609eaa14ca
mds: skip client snap notification on unlink
...
This is cheating a bit, but should be harmless. Basically, we spit off the
snaprealm when we unlink to keep the hierarchy vs snaprealm invariants
intact. But we don't really care if the client does so, so we skip the
client_snap notifications.
That means the client will leave unlinked inodes in the realm they were
in at the time of unlink. I'm pretty sure that won't cause problems
later.
2010-04-23 11:07:16 -07:00
Sage Weil
7a8daedf00
osd: more useful debugging on repop version, out of order completion
2010-04-22 15:12:58 -07:00
Sage Weil
f502547f45
osd: print a bit more debug info about compat problems
2010-04-22 15:12:58 -07:00
Sage Weil
feca69da56
mds: verify mdsmap compatset on startup
2010-04-22 15:12:58 -07:00