2008-08-18 00:01 i thought i remember seeing that too 2008-08-18 00:13 [18233] main: fdsize64 failed for '(null)' (Bad file descriptor) 2008-08-18 00:14 better 2008-08-18 00:14 I'm still interested in the behavior when it tries to keep running anyway 2008-08-18 00:14 I'll just change the error() to warn() 2008-08-18 00:16 int fdsize64(int fd, uint64_t *size) 2008-08-18 00:16 { 2008-08-18 00:16 struct stat stat; 2008-08-18 00:16 if (fstat(fd, &stat)) 2008-08-18 00:16 return -errno; 2008-08-18 00:16 if (S_ISREG(stat.st_mode)) { 2008-08-18 00:16 *size = stat.st_size; 2008-08-18 00:16 return 0; 2008-08-18 00:16 } 2008-08-18 00:16 return ioctl(fd, BLKGETSIZE64, size) ? -errno : 0; 2008-08-18 00:16 } 2008-08-18 00:16 maybe it should just return -1 like other libc stuff 2008-08-18 00:16 yes it should 2008-08-18 00:17 int fdsize64(int fd, uint64_t *size) 2008-08-18 00:17 { 2008-08-18 00:17 struct stat stat; 2008-08-18 00:17 if (fstat(fd, &stat)) 2008-08-18 00:17 return -1; 2008-08-18 00:18 if (S_ISREG(stat.st_mode)) { 2008-08-18 00:18 *size = stat.st_size; 2008-08-18 00:18 return 0; 2008-08-18 00:18 } 2008-08-18 00:18 return ioctl(fd, BLKGETSIZE64, size); 2008-08-18 00:18 } 2008-08-18 00:29 lgtm 2008-08-18 00:30 flips: did you see my patch on the list 2008-08-18 00:30 not yet 2008-08-18 00:30 makefile update + more 64 bit wanrings 2008-08-18 00:31 ah 2008-08-18 00:33 needs a little merge lovin 2008-08-18 00:34 it wouldn't if you committed more often ;) 2008-08-18 00:34 its been 8 hrs.. cmon, yer slackin 2008-08-18 00:35 you erred 2008-08-18 00:35 it's been 2 minutes 2008-08-18 00:35 ah my cron job hasn't run 2008-08-18 00:35 damn it 2008-08-18 00:35 thats it, every minute 2008-08-18 00:37 um 2008-08-18 00:38 please, I am monitoring the http accesses 2008-08-18 00:38 you will dominate 2008-08-18 00:38 you now have 8, 1 minute apart 2008-08-18 00:39 there has to be an event driven way to do this 2008-08-18 00:39 I thought that was what rss was about 2008-08-18 00:41 if your server can't take 1 pull per minute from me, that is sad 2008-08-18 00:41 rss is bs 2008-08-18 00:41 its just an xml formated page 2008-08-18 00:41 it can 2008-08-18 00:41 ajax is supposedly the browser "push" technology 2008-08-18 00:41 it's my eyes when I scan the log 2008-08-18 00:42 I see all these pulls 2008-08-18 00:42 but its really just javascript'ed pulls 2008-08-18 00:42 of more xml 2008-08-18 00:42 lame 2008-08-18 00:42 stupid heavy format 2008-08-18 00:42 yep, polling is the way of the web 2008-08-18 00:43 hairy footed hippies on the steering committee methinks 2008-08-18 00:45 there, shapor.com seems to have mellowed a little 2008-08-18 00:45 how could I notify your pull if I wanted to, email? 2008-08-18 00:45 do some magic http access to your server? 2008-08-18 00:46 i could just provide a repo you could push to 2008-08-18 00:46 why bother with the overhead of requesting a pull ? 2008-08-18 00:46 then you poll it ;-) 2008-08-18 00:46 sure 2008-08-18 00:46 we should do that 2008-08-18 00:46 well yeah, poll on the local box 2008-08-18 00:47 I want auto-push 2008-08-18 00:47 does hg do it? 2008-08-18 00:47 doubtful 2008-08-18 00:47 hrm perhaps 2008-08-18 00:47 well you could poll locally too :P 2008-08-18 00:47 what I was thinking and making funny faces 2008-08-18 00:48 and I am supposed to fix inotify ;-) 2008-08-18 00:48 heh 2008-08-18 00:48 oh right.. for the kde guys? 2008-08-18 00:48 it works well enough 2008-08-18 00:48 right 2008-08-18 00:48 for this purpose 2008-08-18 00:48 they say it doesn't 2008-08-18 00:48 perhaps for this purpose 2008-08-18 00:49 hrm an hg watcher that pushes upstream on local commits would be useful 2008-08-18 00:49 could support git also 2008-08-18 00:49 let's get our whine in 2008-08-18 00:49 why whine? 2008-08-18 00:50 you'll just code it I know 2008-08-18 00:50 no whining 2008-08-18 00:50 it would be good 2008-08-18 00:50 some way you just say source/target like zumastor 2008-08-18 00:50 and have replicated nets of source code 2008-08-18 00:50 yeah certainly needs thought/first stab at it before whining 2008-08-18 00:51 bitbucket/github guys would be interested probably 2008-08-18 00:51 well, starting to get late 2008-08-18 00:51 i wonder if they have any programs to do it already 2008-08-18 00:51 not even 1 yet 2008-08-18 00:51 probably matt is no dummy 2008-08-18 00:52 I was just in the middle of setting up some btree unit testing 2008-08-18 00:52 got tired of testing btree in the live app 2008-08-18 00:52 things like advance should be tested in isolation 2008-08-18 00:52 and lots of other things 2008-08-18 00:52 if btrees are ever expected to be solid 2008-08-18 00:58 ok i cleaned up the 64 bit warning on the most recent code ;) 2008-08-18 00:58 patch? 2008-08-18 00:58 mailed 2008-08-18 00:58 this is already getting old 2008-08-18 00:58 right, I should pull from you 2008-08-18 00:59 i need to learn how to make a tree public with hg 2008-08-18 00:59 tomorrow 2008-08-18 01:00 I'll just look in my httpd.conf when you're ready 2008-08-18 01:01 basically nothing to do 2008-08-18 01:01 just give access to it 2008-08-18 01:02 if I can see the repo directory I can pull 2008-08-18 01:02 and unlike git this is efficient 2008-08-18 01:03 ah cool 2008-08-18 01:04 that is easy for me to do, just create a symlink 2008-08-18 01:04 yes 2008-08-18 01:04 the .hg dir? 2008-08-18 01:04 or the root of my checkout? 2008-08-18 01:04 the root I think 2008-08-18 01:04 let me check 2008-08-18 01:05 the root of your repo, not the .hg 2008-08-18 01:05 http://shapor.com/tux3/hg/ 2008-08-18 01:06 we shoulda used your last patch to test 2008-08-18 01:06 i canlt clone from it though 2008-08-18 01:06 are you sure its that simple? 2008-08-18 01:06 can't* 2008-08-18 01:06 yes 2008-08-18 01:07 you should be able to clone 2008-08-18 01:07 abort: 'http://shapor.com/tux3/hg/' does not appear to be an hg repository! 2008-08-18 01:07 does it have a .hg? 2008-08-18 01:07 yes 2008-08-18 01:07 http://shapor.com/tux3/hg/.hg/ 2008-08-18 01:07 just a sec 2008-08-18 01:09 i dont think its as simple as you say it is 2008-08-18 01:10 ah, you can clone like that 2008-08-18 01:10 ah 2008-08-18 01:10 but not pull 2008-08-18 01:10 yeah 2008-08-18 01:11 er are you sure? 2008-08-18 01:11 i think you can 2008-08-18 01:11 ah 2008-08-18 01:11 static-http: 2008-08-18 01:11 you can pull after you clone ;-) 2008-08-18 01:11 no you can't 2008-08-18 01:11 http://www.selenic.com/mercurial/wiki/index.cgi/StaticHTTP 2008-08-18 01:11 clone is happy to clone, but pull says no repo, bad message 2008-08-18 01:12 are you using static-http ? 2008-08-18 01:12 static wha? 2008-08-18 01:12 hg pull 2008-08-18 01:12 pulling from static-http://shapor.com/tux3/hg 2008-08-18 01:13 you can't just use the http: prefix 2008-08-18 01:13 that expect a mercurial cgi script on the other end 2008-08-18 01:13 static-http: prefix expects just the regular old files 2008-08-18 01:13 on the other end 2008-08-18 01:13 see the link i sent above 2008-08-18 01:13 ok, here goes 2008-08-18 01:14 hg pull static-http://shapor.com/tux3/hg 2008-08-18 01:14 abort: no repo found! 2008-08-18 01:16 you have to be in an hg tree 2008-08-18 01:16 hg clone static-http://shapor.com/tux3/hg <- works 2008-08-18 01:16 run that pull command inside your tux3 dir 2008-08-18 01:16 yes that works 2008-08-18 01:16 now... it shows as directory hg 2008-08-18 01:17 that is not too good style 2008-08-18 01:17 doh 2008-08-18 01:17 would be better named shapor 2008-08-18 01:17 well tux3 2008-08-18 01:17 better 2008-08-18 01:17 tux3-shapor? 2008-08-18 01:17 sure 2008-08-18 01:18 you can call it whatever you like though 2008-08-18 01:18 http pull this way is efficient enough 2008-08-18 01:18 i think 2008-08-18 01:18 way better than email 2008-08-18 01:18 hell yeah 2008-08-18 01:18 calling it hg is lame ;-) 2008-08-18 01:19 makes sense tux3/hg 2008-08-18 01:19 its the mercurial repo for tux3 ;) 2008-08-18 01:19 renamed to shapor-tux3 2008-08-18 01:21 ok i commited a change 2008-08-18 01:21 pull from me 2008-08-18 01:22 dinner time here 2008-08-18 01:22 ok 2008-08-18 01:22 hg pull static-http://shapor.com/tux3-shapor 2008-08-18 01:22 abort: HTTP Error 403: Forbidden 2008-08-18 01:23 hg pull static-http://shapor.com/tux3/shapor-tux3 2008-08-18 01:25 worked 2008-08-18 01:25 now I need to see the diff 2008-08-18 01:26 oh cool, hg has support for all kinds of hooks 2008-08-18 01:26 look in man hgrc 2008-08-18 01:26 under "hooks" 2008-08-18 01:27 yes, what an excellent use of time 2008-08-18 01:27 ok, I need to pay attention the the family now 2008-08-18 01:27 catch ya tomorrow 2008-08-18 02:50 -!- pgquiles(~pgquiles@172.Red-83-38-37.dynamicIP.rima-tde.net) has joined #tux3 2008-08-18 10:11 -!- pgquiles(~pgquiles@251.Red-81-37-107.dynamicIP.rima-tde.net) has joined #tux3 2008-08-18 12:28 So... is tux3 going to really be a "ZFS killer?" 2008-08-18 14:23 -!- MaZe(~MaZe@216-239-45-4.google.com) has joined #tux3 2008-08-18 14:28 boom, zfs is self killing imho 2008-08-18 14:28 "zfs is a rampant layer violation" -- akpm 2008-08-18 14:28 tux3 + lvm3 will cover the checkbox items of zfs 2008-08-18 14:29 not that I am wildly excited about the idea of checksumming metadata, but tux3 will eventually have that too, as an option 2008-08-18 14:30 tux3 will have the immense advantage of running on Linux 2008-08-18 14:30 as long as Sun keeps being idiotic about the zfs license, zfs will not 2008-08-18 15:03 flips: The licensing was something that had me sort of confused. Is Linux's policy to never include non-GPL'd code in the kernel itself? 2008-08-18 15:13 more specific than that: the code has to be GPL v2 2008-08-18 15:13 v3 will no do 2008-08-18 15:13 Really..? 2008-08-18 15:13 Whose decision was that, Linus'? 2008-08-18 15:13 really 2008-08-18 15:14 Linus says he can't change is mind because every copyright holder would have to agree 2008-08-18 15:14 there are hundreds, some of them even died 2008-08-18 15:14 Okay, so even still, if the code is available (as it is for freebsd) what's preventing someone from just building and loading it as a third party module? 2008-08-18 15:15 you can, but binary modules without proper license are in a legal gray zone 2008-08-18 15:15 the code will certainly not go into mainlin until Sun adds a GPL v2 license 2008-08-18 15:15 Isn't that "gray zone" what's currently being filled by things like nvidia's binary driver? 2008-08-18 15:16 nvidia's driver has caused all kinds of problems 2008-08-18 15:16 being occupied by is a better term than being filled by 2008-08-18 15:16 filled sounds like satisfies 2008-08-18 15:16 That's true 2008-08-18 15:17 And would tux3 be GPL2, then? 2008-08-18 15:17 user space code is gpl v3, kernel code is gpl v2 2008-08-18 15:17 Okay, thanks for the info. 2008-08-18 15:18 I've gotta say, though, I've developed a growing respect for BSD-licensed code 2008-08-18 15:18 say, that reminds me, it is about time to collect my beer from Eben 2008-08-18 15:18 bsd is awesome 2008-08-18 15:18 I'm sure that would open you guys up to all kinds of abuse from the rest of capitalism though 2008-08-18 15:18 what would? 2008-08-18 15:18 oh 2008-08-18 15:18 bsd 2008-08-18 15:18 yes, I am not in this to give code to msoft 2008-08-18 15:19 I can support that. 2008-08-18 15:19 Hah. 2008-08-18 15:20 I wasted six hours today on their asses. 2008-08-18 15:21 Do you guys have a projected timeline? 2008-08-18 15:23 a draft roadmap is on the mailing list, revised one will go up later today 2008-08-18 15:25 Ah, I suppose I should subscribe to that bad boy. 2008-08-18 15:25 ;-) 2008-08-18 15:46 welcome to tux3 2008-08-18 15:51 Many thanks. 2008-08-18 15:51 np 2008-08-18 16:00 g99 -g -Wall buffer.c diskio.c btree.c && ./a.out foodev 2008-08-18 16:00 root at 0 2008-08-18 16:00 leaf at 1 2008-08-18 16:00 btree leaf with 0 entries 2008-08-18 16:00 leaf free = 3c 2008-08-18 16:00 btree unit tests starting to happen 2008-08-18 16:00 little leaves to make bushy trees 2008-08-18 17:25 folks ;0 2008-08-18 17:25 :) 2008-08-18 17:25 ACTION finds that the backlog has been truncated 2008-08-18 17:44 -!- konrad(~konrad@c-24-16-74-109.hsd1.wa.comcast.net) has joined #tux3 2008-08-18 22:48 hey shapor 2008-08-18 22:48 the btree unit test produces buggy results 2008-08-18 22:48 interested? 2008-08-18 22:48 seems I broke it on the port from ddsnap 2008-08-18 22:49 bh, you're coming up for air 2008-08-18 22:49 ? 2008-08-18 23:02 eh ? 2008-08-18 23:02 what's air ? 2008-08-18 23:03 just working late at night as usual 2008-08-18 23:54 flips: ah i see 2008-08-18 23:55 the insert after the split inserts to the wrong one 2008-08-18 23:55 right 2008-08-18 23:55 know why yet? 2008-08-18 23:55 didn't look at the code 2008-08-18 23:55 I was just going in there 2008-08-18 23:56 i'm guessing similar to the fleaf, er whatever its called now, dleaf? 2008-08-18 23:56 it was broken in the same way initially i think 2008-08-18 23:56 of course it works in ddsnap, I broke it :-/ 2008-08-18 23:56 unit tests noticed