ceph/src/TODO

216 lines
7.2 KiB
Plaintext
Raw Normal View History

v0.6
/- fold observer into cmonctl/ceph?
/- osd scrub
/- async metadata
2008-12-15 19:34:11 +00:00
v0.7
2009-01-27 22:42:31 +00:00
/- smart osd sync
/- osd bug fixes
2009-01-30 23:00:53 +00:00
/- fast truncate
2009-02-25 00:51:09 +00:00
/- updated debian package
2009-03-04 00:35:49 +00:00
/- improved start/stop scripts
2009-03-23 22:22:59 +00:00
/- proc -> sysfs cleanup
2008-11-06 18:56:51 +00:00
2009-03-16 18:04:13 +00:00
v0.7.1
/- O_DIRECT
2009-03-18 17:57:31 +00:00
/- dentry lease renewal
2009-03-16 18:04:13 +00:00
2009-03-23 22:22:59 +00:00
v0.7.2
2009-03-16 22:30:36 +00:00
/- make kclient handle osd ack + sync properly
/- make fill_trace handle short traces; return short traces from mds
2009-03-18 17:57:31 +00:00
/- rdcap renewal
2009-03-23 22:22:59 +00:00
/- some mds clustering fixes
2009-03-24 02:57:59 +00:00
/- sysfs -> debugfs
2009-03-24 20:48:49 +00:00
/- queue delayed check upon receipt of unwanted, un-EXPIREABLE caps
/- init/mkfs fixes
2009-03-25 19:19:36 +00:00
/- warn on cmon startup if monmap doesn't match .conf
/- make kclient timeouts tunable
2009-03-23 22:22:59 +00:00
v0.8
2009-03-27 21:35:24 +00:00
- clean up path_traverse interface, esp the usages in Server.cc
2009-04-04 21:33:32 +00:00
- piggyback lease/cap release on client_request?
2009-04-08 23:29:19 +00:00
- store metadata format version on disk...
2009-03-24 02:57:59 +00:00
2009-03-27 21:35:24 +00:00
kclient caps
/- two session lists: dirty_caps, clean_caps
/- time out and release clean caps explicitly
2009-03-30 22:01:05 +00:00
/- pin dirty caps
2009-03-31 17:23:53 +00:00
/- don't pin clean caps
/- release on destroy_inode
2009-03-31 23:14:32 +00:00
/- implement write_inode?
/- hold a pin_ref for request r_inode or r_locked_dir.
/- flush dirty caps to auth mds only. resend on cap import.
- reflush caps on mds recovery, cap migration.
/- cap (release) reservations
/- size limit on readdir result, partial dirfrag readdir
/- revisit unmount
/- make request paths relative to a non-snapshotted inode.
/- fix nfs exporting
- fix mds_wanted tracking
- racing lookup + open - do not reduce wanted on mds
- wanted expansion on ceph_open - do no lose it on mds, even if racing with lookup + open
- racing wanted release + getattr --- we need to keep the client's notion of mds_wanted accurate! ****
2009-04-04 21:33:32 +00:00
- fix up mds selection, and ESTALE handling
2009-03-13 16:43:28 +00:00
2009-01-28 00:18:06 +00:00
- ENOSPC
2009-03-13 16:43:28 +00:00
- flock
- fully async file creation
2008-10-08 23:45:31 +00:00
- cas?
2008-06-19 03:59:50 +00:00
2008-05-10 23:31:14 +00:00
big items
2008-10-08 23:45:31 +00:00
- finish client failure recovery (reconnect after long eviction; and slow delayed reconnect)
2008-06-16 22:52:07 +00:00
- ENOSPC
- space reservation in ObjectStore, redeemed by Transactions?
- reserved as PG goes active; reservation canceled when pg goes inactive
- something similar during recovery
- ?
- repair
2008-05-10 23:31:14 +00:00
- mds security enforcement
- client, user authentication
- cas
2008-07-25 23:23:00 +00:00
- osd failure declarations
2009-04-08 23:29:19 +00:00
- rename over old files should flush data, or revert back to old contents
2008-07-25 23:23:00 +00:00
2008-09-18 22:39:54 +00:00
repair
- are we concerned about
- scrubbing
- reconstruction after loss of subset of cdirs
- reconstruction after loss of md log
- data object
- path backpointers?
- parent dir pointer?
- cdir objects
- parent dir pointer
- update on rename? or on cdir store?
on cdir store is sufficient if mdlog survives...
- or what the hell, full trace?
- mds scrubbing
2008-07-25 23:23:00 +00:00
kernel client
2009-04-04 21:33:32 +00:00
- make cap import/export efficient
- unwind writeback start error in addr.c (see fixme)... by redirtying pages?
2009-03-12 23:11:28 +00:00
- inotify for updates from other clients?
- optional or no fill_trace?
- flock, fnctl locks
2009-01-28 00:18:06 +00:00
- async xattrs
2009-01-08 21:38:07 +00:00
- avoid pinning inodes with expireable caps?
- ACLs
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?
- fix readdir vs fragment race by keeping a separate frag pos, and ignoring dentries below it
- reconnect after being disconnected from the mds
2009-03-27 21:35:24 +00:00
- should we try to ref CAP_PIN on special inodes that are open?
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()
2009-01-30 23:00:53 +00:00
- a getattr mask would be really nice
2008-12-12 05:13:02 +00:00
filestore
- make min sync interval self-tuning (ala xfs, ext3?)
2008-12-12 05:13:02 +00:00
- get file csum?
2008-12-10 00:47:40 +00:00
btrfs
- clone compressed inline extents
- ioctl to pull out data csum?
2008-09-18 22:39:54 +00:00
userspace client
- handle session STALE
- time out caps, wake up waiters on renewal
- link caps with mds session
- validate dn leases
- fix lease validation to check session ttl
- clean up ll_ interface, now that we have leases!
2008-03-20 16:41:09 +00:00
- clean up client mds session vs mdsmap behavior?
2008-09-18 22:39:54 +00:00
- stop using mds's inode_t?
- fix readdir vs fragment race by keeping a separate frag pos, and ignoring dentries below it
2008-06-04 18:08:06 +00:00
mds
2009-03-17 17:18:51 +00:00
- file recovery maybe needs to scan entire file range for a truncation event? (and object attr maybe needs file offset, not object offset, or original truncation?)
- on replay, but dirty scatter replicas on lists so that they get flushed? or does rejoin handle that?
- take some care with replayed client requests vs new requests
- linkage vs cdentry replicas and remote rename....
2009-01-08 21:38:07 +00:00
- make recovery work with early replies
- purge each session's unused preallocated inodes
2008-12-10 23:31:25 +00:00
- file size recovery gives (wrong) 4MB-increment results?
2008-09-18 22:39:54 +00:00
- hard link backpointers
- anchor source dir
- build snaprealm for any hardlinked file
- include snaps for all (primary+remote) parents
2008-10-20 22:37:49 +00:00
- how do we properly clean up inodes when doing a snap purge?
- when they are mid-recover? see 136470cf7ca876febf68a2b0610fa3bb77ad3532
2008-10-01 18:53:38 +00:00
- what if a recovery is queued, or in progress, and the inode is then cowed? can that happen?
- 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
2008-12-17 22:06:15 +00:00
- add an up:shadow mode?
- tail the mds log as it is written
- periodically check head so that we trim, too
- rename: importing inode... also journal imported client map?
- rerun destro trace against latest, with various journal lengths
- cap/lease length heuristics
2008-03-31 17:27:12 +00:00
- mds lock last_change stamp?
- handle slow client reconnect (i.e. after mds has gone active)
2008-02-29 00:58:28 +00:00
- fix reconnect/rejoin open file weirdness
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..
- 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?
- add FILE_CAP_EXTEND capability bit
2009-04-04 21:33:32 +00:00
- return extra inode(s) in reply (namely, unlink)?
journaler
- fix up for large events (e.g. imports)
- 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
2008-12-10 00:47:40 +00:00
mon
- paxos need to clean up old states.
- default: simple max of (state count, min age), so that we have at least N hours of history, say?
- osd map: trim only old maps < oldest "in" osd up_from
2008-09-18 22:39:54 +00:00
osdmon
- monitor needs to monitor some osds...
pgmon
2009-01-30 23:00:53 +00:00
/- include osd vector with pg state
2008-09-18 22:39:54 +00:00
- check for orphan pgs
- monitor pg states, notify on out?
- watch osd utilization; adjust overload in cluster map
2008-12-10 00:47:40 +00:00
crush
- allow forcefeed for more complicated rule structures. (e.g. make force_stack a list< set<int> >)
2008-09-18 22:39:54 +00:00
osd
- pg split should be a work queue
- pg split needs to fix up pg stats. this is tricky with the clone overlap business...
2008-11-17 17:15:44 +00:00
- generalize ack semantics? or just change ack from memory to journal? memory/journal/disk...
- rdlocks
- optimize remove wrt recovery pushes
simplemessenger
2008-12-10 00:47:40 +00:00
- close idle connections?
objectcacher
2008-11-07 00:14:18 +00:00
- read locks?
- maintain more explicit inode grouping instead of wonky hashes
2009-03-03 23:21:34 +00:00
cas
- chunking. see TTTD in
ESHGHI, K.
A framework for analyzing and improving content-based chunking algorithms.
Tech. Rep. HPL-2005-30(R.1), Hewlett Packard Laboratories, Palo Alto, 2005.