]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
todos
authorSage Weil <sage@newdream.net>
Thu, 21 Aug 2008 16:40:16 +0000 (09:40 -0700)
committerSage Weil <sage@newdream.net>
Thu, 21 Aug 2008 16:40:16 +0000 (09:40 -0700)
src/TODO

index 373ed6a47a600baf205e11bd12fb612eb6323113..9c27787398957e809bf912cd5398c5b156bd25ce 100644 (file)
--- a/src/TODO
+++ b/src/TODO
@@ -18,6 +18,13 @@ big items
 
 
 snaps on kclient
+- snap-ordered writeout
+  - switch i_wrbuffer_ref to int, protected by i_lock
+  - split out i_wrbuffer_ref_head
+    - on queue_cap_snap, _head count to new snap and reset
+  - in writepages, take i_lock and 
+    - lock for oldest cap_snap with flushing > 0, 
+    - and make sure our page is for that snapc.  once we have a page, the snapc has to match.
 /- we need a rw snap mutex, so that pending io blocks while we update snap contexts
   - we can push down to a per-realm rw mutex later
 /- need to do ORDERSNAP flag