ceph/src/TODO

241 lines
7.0 KiB
Plaintext
Raw Normal View History

2008-06-16 22:52:07 +00:00
v0.3
- fix mon osdmap send_full/latest ... never use get_source_inst()!
2008-06-16 22:52:07 +00:00
v0.4
2008-06-19 19:47:14 +00:00
- fix msgr protocol wrt resets, and varying connection close policies
2008-06-16 22:52:07 +00:00
- ENOSPC
2008-06-19 03:59:50 +00:00
- finish client failure recovery (reconnect after long eviction; and slow delayed reconnect)
- make kclient sendpage (and rip out io interruption?)
2008-06-16 22:52:07 +00:00
2008-05-10 23:31:14 +00:00
big items
2008-06-16 22:52:07 +00:00
- ENOSPC
2008-05-10 23:31:14 +00:00
- quotas
/ - accounting
2008-05-10 23:31:14 +00:00
- enforcement
- rados cow/snapshot infrastructure
- mds snapshots
- mds security enforcement
- client, user authentication
- cas
- use libuuid
2008-03-25 22:55:26 +00:00
userspace client
2008-06-03 20:13:58 +00:00
- handle session STALE
2008-05-01 18:13:33 +00:00
- time out caps, wake up waiters on renewal
2008-05-15 20:39:51 +00:00
- link caps with mds session
- validate dn leases
- fix lease validation to check session ttl
2008-03-25 22:55:26 +00:00
- clean up ll_ interface, now that we have leases!
- clean up client mds session vs mdsmap behavior?
- stop using mds's inode_t?
- fix readdir vs fragment race by keeping a separate frag pos, and ignoring dentries below it
2008-03-25 22:55:26 +00:00
kernel client
2008-06-23 13:45:49 +00:00
- make writepages maybe skip pages with errors?
- EIO, or ENOSPC?
- ... writeback vs ENOSPC vs flush vs close()... hrm...
2008-06-16 22:52:07 +00:00
- set mapping bits for ENOSPC, EIO?
2008-04-17 01:53:13 +00:00
- flush caps on sync, fsync, etc.
- do we need to block?
2008-04-30 00:01:51 +00:00
- timeout mds session close on umount
- deal with CAP_RDCACHE properly: invalidate cache pages?
2008-03-07 18:37:33 +00:00
- procfs/debugfs
2008-03-03 06:41:06 +00:00
- adjust granular debug levels too
- should we be using debugfs?
2008-03-07 18:37:33 +00:00
- a dir for each client instance (client###)?
- hooks to get mds, osd, monmap epoch #s
- clean up messenger vs ktcp
- hook into sysfs?
- vfs
2008-01-31 23:29:57 +00:00
- can we use dentry_path(), if it gets merged into mainline?
2008-04-02 23:37:00 +00:00
- io / osd client
2007-12-24 05:16:04 +00:00
- osd ack vs commit handling. hmm!
- fix readdir vs fragment race by keeping a separate frag pos, and ignoring dentries below it
2008-06-23 13:45:49 +00:00
vfs issues
- real_lookup() race:
1- hash lookup find no dentry
2- real_lookup() takes dir i_mutex, but then finds a dentry
3- drops mutex, then calld d_revalidate. if that fails, we return ENOENT (instead of looping?)
- vfs_rename_dir()
2008-03-20 16:41:09 +00:00
client
- clean up client mds session vs mdsmap behavior?
osdmon
- monitor needs to monitor some osds...
crush
2008-01-19 00:44:18 +00:00
- more efficient failure when all/too many osds are down
- allow forcefeed for more complicated rule structures. (e.g. make force_stack a list< set<int> >)
- "knob" bucket
pgmon
- monitor pg states, notify on out?
- watch osd utilization; adjust overload in cluster map
mon
2008-04-15 01:32:14 +00:00
- paxos need to clean up old states.
2007-12-21 01:50:39 +00:00
- some sort of tester for PaxosService...
2008-04-15 01:32:14 +00:00
- osdmon needs to lower-bound old osdmap versions it keeps around?
2008-06-04 18:08:06 +00:00
mds
- proper handling of cache expire messages during rejoin phase?
-> i think cache expires are fine; the rejoin_ack handler just has to behave if rejoining items go missing
- try_remove_unlinked_dn thing
- rerun destro trace against latest, with various journal lengths
2008-03-31 17:27:12 +00:00
- lease length heuristics
- mds lock last_change stamp?
- handle slow client reconnect (i.e. after mds has gone active)
2008-03-28 16:42:37 +00:00
2008-02-29 00:58:28 +00:00
- fix reconnect/rejoin open file weirdness
- get rid of C*Discover objects for replicate_to .. encode to bufferlists directly?
2008-06-04 18:08:06 +00:00
- can we get rid of the dirlock remote auth_pin weirdness on subtree roots?
2008-06-04 18:08:06 +00:00
- anchor_destroy needs to xlock linklock.. which means it needs a Mutation wrapper?
- ... when it gets a caller.. someday..
2008-05-22 21:20:30 +00:00
2008-06-04 18:08:06 +00:00
- make truncate faster with a trunc_seq, attached to objects as attributes?
- osd needs a set_floor_and_read op for safe failover/STOGITH-like semantics.
- could mark dir complete in EMetaBlob by counting how many dentries are dirtied in the current log epoch in CDir...
- FIXME how to journal/store root and stray inode content?
- in particular, i care about dirfragtree.. get it on rejoin?
- and dir sizes, if i add that... also on rejoin?
- efficient stat for single writers
- add FILE_CAP_EXTEND capability bit
journaler
- fix up for large events (e.g. imports)
- use set_floor_and_read for safe takeover from possibly-not-quite-dead otherguy.
- should we pad with zeros to avoid splitting individual entries?
- make it a g_conf flag?
- have to fix reader to skip over zeros (either <4 bytes for size, or zeroed sizes)
- need to truncate at detected (valid) write_pos to clear out any other partial trailing writes
fsck
- fsck.ebofs
- online mds fsck?
2008-02-29 00:58:28 +00:00
- object backpointer attrs to hint catastrophic reconstruction?
rados snapshots
2008-02-29 00:58:28 +00:00
- integrate revisions into ObjectCacher?
- clean up oid.rev vs op.rev in osd+osdc
- attr.crev is rev we were created in.
- oid.rev=0 is "live". defined for attr.crev <= rev.
- otherwise, defined for attr.crev <= rev < oid.rev (i.e. oid.rev is upper bound, non-inclusive.)
- write|delete is tagged with op.rev
- if attr.crev < op.rev
- we clone to oid.rev=rev (clone keeps old crev)
- change live attr.crev=rev.
- apply update
- read is tagged with op.rev
- if 0, we read from 0 (if it exists).
- otherwise we choose object rev based on op.rev vs oid.rev, and then verifying attr.crev <= op.rev.
objecter
- fix failure handler...
- generic mon client?
- maybe_request_map should set a timer event to periodically re-request.
2008-05-16 21:54:04 +00:00
- transaction prepare/commit?
- read+floor_lockout
osd/rados
- how does an admin intervene when a pg needs a dead osd to repeer?
- a more general fencing mechanism? per-object granularity isn't usually a good match.
- consider implications of nvram writeahead logs
- flag missing log entries on crash recovery --> WRNOOP? or WRLOST?
- efficiently replicate clone() objects
- fix heartbeat wrt new replication
- mark residual pgs obsolete ???
- rdlocks
- optimize remove wrt recovery pushes
- report crashed pgs?
messenger
- fix messenger shutdown.. we shouldn't delete messenger, since the caller may be referencing it, etc.
simplemessenger
- close idle connections
objectcacher
- merge clean bh's
- ocacher caps transitions vs locks
- test read locks
reliability
- heartbeat vs ping?
- osdmonitor, filter
ebofs
- btrees
- checksums
- dups
- sets
- optionally scrub deallocated extents
- clone()
- map ObjectStore
- verify proper behavior of conflicting/overlapping reads of clones
- combine inodes and/or cnodes into same blocks
- fix bug in node rotation on insert (and reenable)
- fix NEAR_LAST_FWD (?)
- awareness of underlying software/hardware raid in allocator so that we
write full stripes _only_.
- hmm, that's basically just a large block size.
- rewrite the btree code!
- multithreaded
- eliminate nodepools
- allow btree sets
- allow arbitrary embedded data?
- allow arbitrary btrees
- allow root node(s?) to be embedded in onode, or whereever.
- keys and values can be uniform (fixed-size) or non-uniform.
- fixed size (if any) is a value in the btree struct.
- negative indicates bytes of length value? (1 -> 255bytes, 2 -> 65535 bytes, etc.?)
- non-uniform records preceeded by length.
- keys sorted via a comparator defined in btree root.
- lexicographically, by default.
- goal
- object btree key->value payload, not just a data blob payload.
- better threading behavior.
- with transactional goodness!
- onode
- object attributes.. as a btree?
- blob stream
- map stream.
- allow blob values.
-
remaining hard problems
- how to cope with file size changes and read/write sharing