Sage Weil
7f0791c2e2
mds: create abstract LockType that includes numeric type and state machine
...
This eliminates 1 field in each SimpleLock.
2010-03-11 09:30:10 -08:00
Sage Weil
cbd6b2fcfb
debian: build binary-arch debs only from builddebs.sh
...
Otherwise we rebuild the source .dsc, which isn't what we want.
2010-03-11 09:06:55 -08:00
Sage Weil
d2e637486e
debian: clean out unused debhelper rules steps
2010-03-11 09:06:55 -08:00
Sage Weil
debaa52086
debian: put debian/ in .diff.gz, not release tarball
2010-03-11 09:06:55 -08:00
Sage Weil
4fdb6ce34a
msgr: remove dead kill_after code bits
2010-03-11 09:06:55 -08:00
Sage Weil
71cfe307db
todo multi-mds issue
2010-03-11 09:06:55 -08:00
Greg Farnum
ff887e24aa
mon: users can now change pool owners.
...
This requires them to have write permission on both the current
and the new auid.
2010-03-10 13:22:02 -08:00
Greg Farnum
543c9eb460
osd: Check auid permissions in get_pool_cap
2010-03-10 13:22:02 -08:00
Greg Farnum
fd3168a301
mon: use MonCaps::check_privileges in prepare_new_pool
2010-03-10 13:22:02 -08:00
Greg Farnum
53029941ba
Revert "mon: add check_privileges function to OSDMon."
...
Deprecated by the existence of MonCaps::check_privileges
This reverts commit 07df67f394
.
2010-03-10 13:22:02 -08:00
Greg Farnum
e59f544afd
mon: add check_privileges function to MonCaps
2010-03-10 13:22:02 -08:00
Greg Farnum
a9b15cc162
vstart: use 'allow *' notation instead of 'allow rwx'
2010-03-10 13:22:02 -08:00
Greg Farnum
9b3786f6c4
osd: accept 'allow *' as an admin flag that sets allow_all
...
in the OSDCap.
2010-03-10 13:22:02 -08:00
Greg Farnum
9a8dd4f82b
osd: OSDCaps parses and stores auid permissions
2010-03-10 13:22:02 -08:00
Greg Farnum
719c13aa5a
mon: AuthMonitor doesn't overwrite allow_all bit
...
on incoming messages, only on initial connect.
2010-03-10 13:22:02 -08:00
Greg Farnum
efcd0d893e
mon: Add basic operator<< to MonCaps
2010-03-10 13:22:02 -08:00
Greg Farnum
c6e7495454
mon: Accept 'allow *' as an admin flag that sets allow_all
...
in MonCaps.
2010-03-10 13:22:02 -08:00
Greg Farnum
55ace062fd
mon: MonCaps parses and stores auid permissions
...
Also, rename MonServiceCap -> MonCap
2010-03-10 13:22:02 -08:00
Sage Weil
e4e775b60f
thread: mask all signals on child threads
...
Mask all signals on any threads we create. Since we don't use
signals for anything, this leaves the signal behavior to the
original parent thread or process linking in librados or
libceph.
2010-03-09 15:02:30 -08:00
Sage Weil
e976c53607
timer: kill unused g_timer
2010-03-09 14:51:05 -08:00
Sage Weil
fe4f42bc29
mds: create mds.$id debug log symlink
...
...in addition to the current mds$num
2010-03-09 14:05:52 -08:00
Sage Weil
72e04c8f6a
mds: only check for canceled _client_ requests, not slaves
...
Slave requests don't get added to the session request list.
2010-03-09 11:00:03 -08:00
Sage Weil
233d2d8087
mds: fix MDentryUnlink
...
Need to replicate mds dir + stray dir dentry as well as the stray
inode, dir, dentry. This was overlooked when the /.ceph and
per-mds directories were set up.
2010-03-09 10:41:42 -08:00
Yehuda Sadeh
cf4414684d
messenger: don't use signal SIGUSRx anymore
...
Was used internally to wake up blocking messenger threads.
2010-03-08 15:34:24 -08:00
Sage Weil
a7ae330d22
qa: make -j on kernel build
2010-03-08 15:10:45 -08:00
Sage Weil
c9506f71ad
Revert "mon: Hack -- set allow_all in caps if client name is admin"
...
This reverts commit f07ce468e5
.
2010-03-08 15:10:14 -08:00
Sage Weil
e0c3c15e2b
mds: note when we last became non-laggy
2010-03-08 14:51:24 -08:00
Sage Weil
0383878c4f
mkcephfs: cosd mkfs as root, then chown
2010-03-08 14:51:24 -08:00
Sage Weil
d77caf22a6
todo bugs
2010-03-08 14:51:24 -08:00
Sage Weil
822ae4a1bb
filestore: clean up btrfs, clone range detection
...
Use statfs to detect btrfs, not the trans ioctl (which won't work
if you're not root!). Use separate bool for clone range support.
2010-03-08 14:51:24 -08:00
Sage Weil
ca02d68cc6
cauthtool: verify set_uid arg
2010-03-08 14:51:23 -08:00
Sage Weil
dc38d48948
mds: dump misc struct sizes to log
2010-03-08 14:51:20 -08:00
Sage Weil
9c8eef20b0
monclient: time out properly from wait_auth_rotating
2010-03-08 14:49:43 -08:00
Sage Weil
fb5ecb9be9
decay: separate fixed DecayRate from DecayCounter
...
Avoid eating a double per instance.
2010-03-08 14:49:43 -08:00
Sage Weil
fdb85cad0d
mds: drop useless double from DecayCounter
...
No need to store k AND halflife.
2010-03-08 14:49:43 -08:00
Greg Farnum
f07ce468e5
mon: Hack -- set allow_all in caps if client name is admin
2010-03-08 07:47:47 -08:00
Greg Farnum
9199dd2d9e
objecter: librados: add optional auid param to
...
create_pool functions
2010-03-08 07:42:16 -08:00
Greg Farnum
14cdfd4337
objecter: add auid to PoolOp, fill it in during pool_op_submit
2010-03-08 07:42:16 -08:00
Greg Farnum
fbe08c7830
mon: let prepare_new_pool assign an auid.
...
Add new version that takes an MPoolOp and checks permissions
first.
2010-03-08 07:42:16 -08:00
Greg Farnum
07df67f394
mon: add check_privileges function to OSDMon.
2010-03-08 07:42:15 -08:00
Greg Farnum
1b7119f943
msg: Add an auid field to MPoolOp; additional constructor to match
2010-03-08 07:41:59 -08:00
Greg Farnum
3b1bf4bdda
auth: move CEPH_AUTH_UID_DEFAULT into ceph_fs.h
2010-03-05 16:47:26 -08:00
Greg Farnum
4020dd1a0b
cauthtool: set auid in data member format instead of as (ignored) text key
2010-03-05 15:46:54 -08:00
Greg Farnum
6d6eba3313
mon: store auid in MonCaps
2010-03-05 15:46:54 -08:00
Greg Farnum
c898ba546d
osd: store auid in OSDCaps
2010-03-05 15:46:54 -08:00
Greg Farnum
1b211e5ef3
mon: fix bad return test!
...
cephx_build_service_ticket_blob returns a bool, so it's not ever
going to return <0 -- or if it somehow does that'll be true (good, not false!
2010-03-05 15:46:54 -08:00
Greg Farnum
036f923a8e
auth: add set_uid() to KeyRing, print out auid in print function
2010-03-05 15:46:54 -08:00
Greg Farnum
846acac212
auth: Add an auid parameter to verify_authorizer and handle_request
...
It defaults to null, in which case it's not assigned to.
auth: add optional auid param to handle_request
2010-03-05 15:46:54 -08:00
Greg Farnum
4637d18f1a
cephx: Piece-wise initialization of structs is BAD!
...
If you add, say, a field "auid" to the struct and it's being
piece-wise initialized then you need to change every copy to include it.
Or you assume it's just copied wholesale and then spend many hours trying
to find where it isn't. Like in this one.
2010-03-05 15:46:54 -08:00
Greg Farnum
f58c41b993
auth: rename auth_uid -> auid
2010-03-05 15:46:54 -08:00