Sage Weil
bdc527eba8
filestore: enforce min and max sync interval
...
Ideally the min sync interval should be self-tuning (ala ext3, xfs),
but that can come later.
2009-03-05 10:22:03 -08:00
Sage Weil
1fa26111f6
todo
2009-03-03 16:35:53 -08:00
Sage Weil
a273072d30
todo: cas notes
2009-03-03 16:35:53 -08:00
Sage Weil
268bb2c136
makefile, todo
2009-02-27 15:11:48 -08:00
Sage Weil
a69f197e44
todos
2009-02-25 13:07:23 -08:00
Sage Weil
fb0183da12
kclient: add other maps to sysfs
2009-02-25 10:12:05 -08:00
Sage Weil
34db3a1161
todos
2009-02-24 16:51:09 -08:00
Sage Weil
b82705add1
debian: cleanup, changelog fix
2009-02-24 12:29:28 -08:00
Sage Weil
52b90a4c3f
todo
2009-02-19 15:25:21 -08:00
Sage Weil
06e396139b
kclient: only unregister after both acks
...
Partially reverts behavior of b732c0ddb8
We need the request to stay in the request_tree so that when the
safe arrives we can look it up (duh). Also, we need to keep a
reference to the request during that period...
2009-02-19 15:22:12 -08:00
Sage Weil
b732c0ddb8
kclient: unregister mds requests on unsafe reply
...
Fresh vs unsafe mds request replay is handled separately. So,
unregister requests on first reply. This avoids a stray dentry
reference if we unmount before getting a final safe (although
eventually those should be explicitly flushed as well).
2009-02-19 13:59:15 -08:00
Sage Weil
376ac88a3b
kclient: async mds requests
...
Restructure the mds client to handle mds request asynchronously, so
that we can handle requests that are not managed by a blocking
thread.
2009-02-19 11:58:25 -08:00
Sage Weil
d37775de55
todos
2009-01-30 16:03:11 -08:00
Sage Weil
0b75ee62d4
mds: use generic helper when removing a cap
...
This way we make sure to do all the right checks on the locks,
mds_caps, and to call eval_stray if the inode is unlinked.
2009-01-30 16:03:11 -08:00
Sage Weil
179f7a81e2
mds: fix try_remove_unlinked_dn
...
Clear dentry NEW flag when we commit it.. pretty sure that was the
old bug. And we can't cheat the directory commit because the fnode
also gets updated.
2009-01-30 16:03:11 -08:00
Sage Weil
fe1a365365
todo
2009-01-30 11:44:34 -08:00
Sage Weil
6258c64c99
todo
2009-01-27 16:18:06 -08:00
Sage Weil
0545b4d4e7
todo
2009-01-27 14:43:54 -08:00
Sage Weil
b1939af57b
todo
2009-01-26 19:56:53 -08:00
Sage Weil
bdf405cd02
todos
2009-01-23 16:47:21 -08:00
Sage Weil
4c75e0a8b7
mds: fix xattr projection
2009-01-21 16:44:21 -08:00
Sage Weil
1c2d62486f
mds: drop rdlocks _after_ journaling; use new journal_and_reply helper
...
If we drop locks earlier we may run contexts that journal _other_
items out of order. Badness.
2009-01-21 16:23:00 -08:00
Sage Weil
74f2a9c88d
uclient: update caps code to match kclient logic
2009-01-21 10:38:06 -08:00
Sage Weil
f62bb44529
mds: drop rdlocks after early reply is sent
...
We will still hold wrlocks and xlocks until journal entry commits.
2009-01-19 15:05:57 -08:00
Sage Weil
96a16b6a91
todos
2009-01-19 12:28:07 -08:00
Sage Weil
ee7547d53e
uclient: small bug fix
2009-01-16 10:37:32 -08:00
Sage Weil
3eabcec0d4
mds: rewrite SimpleLock using generic state specifications; new xlock semantics
...
Same client can re-xlock an item (or read_projected) if the prior
locker set_xlock_done(). Move from XLOCKDONE to either SYNC or
LOCK, depending on whether read leases/locks have been issued.
Still need to convert FileLock and ScatterLock to use the new
state machine specification. (This will probably make those lock
types mostly go away.)
2009-01-15 16:27:28 -08:00
Sage Weil
7bd95881a9
mds: force explicit current vs projected dentry linkage in API
...
CDentry users must use get_linkage() or get_projected_linkage()
(or get_linkage(int client) to autochoose) to explicitly specify
whether they want the current or projected dentry linkage.
2009-01-14 14:12:30 -08:00
Sage Weil
c7c72b44dd
mds: issue cap on mkdir; set authlock to EXCL on open O_CREAT.
2009-01-12 15:06:44 -08:00
Sage Weil
8f1801b37e
mds: increase preallocated ino
...
Although we still seem to manage to use them all up...
2009-01-11 16:56:48 -08:00
Sage Weil
cd345c1e21
todo
2009-01-09 14:58:49 -08:00
Sage Weil
d84552c4ae
todos
2009-01-08 13:38:07 -08:00
Sage Weil
0089e1a04a
todos
2009-01-07 15:44:45 -08:00
Sage Weil
31f7435a99
kclient: trim expired rdcaps; ignored issued but timed out caps
...
Introduce new CEPH_CAP_EXPIREABLE mask to control which caps (if
alone) time out.
2009-01-07 11:29:50 -08:00
Sage Weil
9a8d9357f3
mds: update cap notes
2009-01-06 16:47:48 -08:00
Sage Weil
314f065d02
mds: simplify capability issued tracking
...
The original was really stupid.. keeping track of every issued
value in a list and traversing it to calculate the effective
issued mask.
New version has a small, fixed array that is used only when bits
are revoked.
2009-01-06 13:46:34 -08:00
Sage Weil
9b2af42877
kclient: use new caps protocol
...
Also,
- Stat root inode instead of opening it. We will keep the PIN cap
and be happy.
- add ceph_cap_string helper to make cap values readable
2009-01-06 12:47:29 -08:00
Sage Weil
4a499ee25c
mds: bunch of cap protocol changes, and user client adjustments.
...
See capability protocol notes in mds/Capability.h
2009-01-05 16:30:10 -08:00
Sage Weil
886091eff1
kclient: ref count cap_snap to avoid unnecessarily copying into temp variables
2009-01-04 15:41:03 -08:00
Sage Weil
a46dbfd5e8
notes
2009-01-04 10:34:47 -08:00
Sage Weil
2dfa4db374
mds: only _do_cap_update if client held ANY_WR caps
2009-01-04 09:38:46 -08:00
Sage Weil
8276576ce2
mds: issue RDCACHE caps to client when possible. add cap to do so if inode auth.
2009-01-03 11:33:35 -08:00
Sage Weil
4087a07478
todo
2009-01-02 09:26:27 -08:00
Sage Weil
a58d31ca46
Merge branch 'unstable' into asyncmds
...
Conflicts:
src/mon/OSDMonitor.cc
2008-12-31 11:30:08 -08:00
Sage Weil
4377dba319
mds: fix xattr projection
...
We do not want the new xattr to appear in the inode until the journal
entry commits.
2008-12-31 09:15:34 -08:00
Sage Weil
f46c77111d
mds todos
2008-12-24 14:40:23 -08:00
Sage Weil
8ba7f14c37
change ceph_fsid
...
Make it look more like uuid_t. Rename type, comparator.
2008-12-23 13:39:25 -08:00
Sage Weil
89b8283f73
mds: basic filelock fixes
2008-12-23 11:45:21 -08:00
Sage Weil
901e58266f
todo
2008-12-17 14:06:15 -08:00
Sage Weil
80302174fe
mon: blacklist failed mds
2008-12-17 10:32:09 -08:00