2008-08-16 02:39 -!- Kirantpatil(~kiran@122.167.212.233) has joined #tux3 2008-08-16 02:39 -!- Kirantpatil(~kiran@122.167.212.233) has left #tux3 2008-08-16 11:14 -!- flips(~phillips@phunq.net) has joined #tux3 2008-08-16 11:14 -!- ChanServ changed mode/#tux3 -> -o flips 2008-08-16 14:42 -!- pgquiles(~pgquiles@132.Red-217-125-199.dynamicIP.rima-tde.net) has joined #tux3 2008-08-16 17:06 -!- bh(~billh@ip68-107-26-122.sd.sd.cox.net) has joined #tux3 2008-08-16 17:06 doesn't tux3 suck as a web server compared to apache2 ? 2008-08-16 17:17 bh: this channel isn't about tux3 the web server 2008-08-16 17:18 -!- ChanServ changed mode/#tux3 -> +o shapor 2008-08-16 17:49 bh -> bill huery 2008-08-16 17:49 huey 2008-08-16 17:50 ah ;) 2008-08-16 17:50 nice troll bh 2008-08-16 17:51 ACTION gets on a little more caffein 2008-08-16 17:53 smelled like a troll, thats why i op'ed myself ;) 2008-08-16 17:53 didn't make the connection 2008-08-16 17:58 :-) 2008-08-16 17:58 bh is like that, only made one of him 2008-08-16 17:58 I am thinking... probably crazy thought 2008-08-16 17:58 but it's getting not far away from kernel port time 2008-08-16 17:59 I wonder if some of the porting could be automated with a perl script 2008-08-16 17:59 haha 2008-08-16 17:59 see crazy above 2008-08-16 17:59 perhaps 2008-08-16 17:59 things like changing printf to printk 2008-08-16 17:59 instead of #define printf printk 2008-08-16 18:27 a couple of big differences between the user space code and kernel: 1) kackers don't like c99 inline decls 2) bit fields... are they consistently implemented across arches? likely not 2008-08-16 18:28 could possibly isolate those differences behind inline access functions buried in header files 2008-08-16 22:06 woohoo, bitmap flush worked on the first try after plugging in the btree root 2008-08-16 22:08 merging the changes in with my format string fix went smoothly 2008-08-16 22:08 hg++ 2008-08-16 22:37 indeed 2008-08-16 22:38 could you try it with the (unsigned int) casts removed 2008-08-16 22:38 I don't think there should be warnings but I'm prepared to be re-educated 2008-08-16 22:38 oh your merge 2008-08-16 22:38 actually I haven't tried merge in hg yet 2008-08-16 22:39 I'm glad to hear it's pleasant 2008-08-16 22:40 ok, just need to do free block and bitmap allocation is finished right up to the first kernel drop 2008-08-16 22:44 dleaf.c:133: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'long int' 2008-08-16 22:45 just needs to be (int) to make it happy i suppose though 2008-08-16 22:45 since we're doing pointer math we expect to be a small value 2008-08-16 23:22 I think 2008-08-16 23:23 (int) works 2008-08-16 23:23 although casting to int specifically for %u seems silly 2008-08-16 23:23 really 2008-08-16 23:23 it is odd that pointer difference returns long in instead of int 2008-08-16 23:23 (unsigned int) makes more sense to me 2008-08-16 23:23 only on 64 bit 2008-08-16 23:24 we can also do the cast on the 32 bit side 2008-08-16 23:24 and use %lu as the format string? 2008-08-16 23:25 best way to do it is a silly thing to worry about since all the printfs are going away 2008-08-16 23:25 yes 2008-08-16 23:26 nice to keep some of the tracing around and expect it to work 2008-08-16 23:26 well we know it will work 2008-08-16 23:26 but i suspect printk is somewhat different anyway? 2008-08-16 23:28 very similar 2008-08-16 23:28 been honed by unix wookies for years 2008-08-16 23:32 ok, put back pretty much the way you had it 2008-08-16 23:32 yuck huh? 2008-08-16 23:33 ACTION done for today 2008-08-16 23:34 hm 2008-08-16 23:34 have you thought about the user interface to snapshot data 2008-08-16 23:35 say i want to copy a directory and all the previous version of it 2008-08-16 23:35 snapshot data or snapshot? 2008-08-16 23:35 to say, another tux3 filesystem 2008-08-16 23:35 all previous versions, no 2008-08-16 23:35 just a specified version 2008-08-16 23:35 copy with history is an interesting challenge 2008-08-16 23:36 could be useful for quite a few things 2008-08-16 23:36 sounds hard 2008-08-16 23:36 i know, thats why i asked 2008-08-16 23:36 but if the use case is compelling... 2008-08-16 23:37 copy history does sounds useful 2008-08-16 23:37 very 2008-08-16 23:37 say you take daily snapshots 2008-08-16 23:37 but you want to do a weekly backup to tape 2008-08-16 23:37 which includes all those incremental daily changes 2008-08-16 23:37 or even hourly 2008-08-16 23:38 easy, back up a bunch of deltas 2008-08-16 23:38 can you get a delta for a particular directory? 2008-08-16 23:38 that is the plan 2008-08-16 23:38 of a given file 2008-08-16 23:38 what is the interface? 2008-08-16 23:38 some ddlink thing 2008-08-16 23:38 with some c program driving the ddlink 2008-08-16 23:39 in other words, go crazy 2008-08-16 23:39 yeah 2008-08-16 23:39 but that wasn't the usecase i originally thought of 2008-08-16 23:39 i was trying to simplify it 2008-08-16 23:39 probably best to think about the primitive ops and think how to link them up to do complex things 2008-08-16 23:40 thinking about an organized delta store 2008-08-16 23:40 that you can not only write to but read from... and do what with? 2008-08-16 23:40 something like the guy did with zumastor maybe 2008-08-16 23:41 mountable deltas 2008-08-16 23:41 that would rule the universe 2008-08-16 23:41 but hard, probably 2008-08-16 23:41 yeah migrate them to nearline storage 2008-08-16 23:41 i bet you think doing it with ddsnap delta files was hard too though 2008-08-16 23:41 and someone did it ;) 2008-08-16 23:42 speaking of whom, you should loop him in about tux3 2008-08-16 23:44 yes 2008-08-16 23:44 remember the subject line? 2008-08-16 23:45 ddloop perhaps? 2008-08-16 23:45 I thought that was my name 2008-08-16 23:46 "Backups using ddsnap 2008-08-16 23:46 http://www.nomorevoid.com/downloads/dm-ddloop.tar.gz 2008-08-16 23:47 " 2008-08-16 23:47 right on our home page 2008-08-16 23:47 was the subject on the list 2008-08-16 23:47 yeah 2008-08-16 23:47 got it 2008-08-16 23:48 why dont google groups archives appear in google search results? 2008-08-16 23:48 because goog suxorx? 2008-08-16 23:48 http://groups.google.com/group/zumastor/browse_thread/thread/c95970acdc2e31ca/cc9931d18043f31f 2008-08-16 23:49 http://www.google.com/search?q=%22backups+using+ddsnap%22 2008-08-16 23:49 doesn't find it unfortunately 2008-08-16 23:57 googlegroups is really too lame to have a mailing list on 2008-08-16 23:57 it would be fine is gmane was subscribed 2008-08-16 23:57 I'll set up a new zumastor mailing list 2008-08-16 23:59 t A following integer conversion corresponds to a ptrdiff_t argument -- printf man page