Commit graph

2861 commits

Author SHA1 Message Date
Russ Cox
83ab7d8896 merge 2007-11-27 15:39:06 -05:00
Russ Cox
00a8743cd8 .hgignore: ignore more 2007-11-27 15:38:52 -05:00
Russ Cox
e0e75ef7f4 upas/smtp: remove intermediate files 2007-11-27 15:38:29 -05:00
Russ Cox
3f4e0dc707 tpic: clean up better 2007-11-27 15:37:31 -05:00
Russ Cox
a6e6840c21 venti: add debugging html form 2007-11-27 15:36:58 -05:00
Russ Cox
6519f89515 libdiskfs: work around OS X linker brain-damage 2007-11-05 16:37:29 -05:00
Russ Cox
760f2fb6a9 libmach: move machbyname, mach to crack.c to avoid OS X linker problem 2007-11-05 14:53:16 -05:00
Russ Cox
2640996af8 libthread: use our own swapcontext/makecontext even on OS X 10.5 2007-11-05 13:14:52 -05:00
Russ Cox
88cf592723 libmp: no text jump labels for darwin 2007-11-05 12:27:49 -05:00
Russ Cox
50808670fc build: use ar s flag to avoid ranlib 2007-11-05 11:27:14 -05:00
Russ Cox
eb5d2a54d5 diff: continue after i/o errors when diffing many files 2007-11-05 11:09:39 -05:00
Russ Cox
e84044be84 mailfs: add -r flag to specify mail root (Richard Bilson) 2007-11-05 10:55:26 -05:00
Russ Cox
f1ea0d2916 mailfs: handle NIL body 2007-11-05 10:52:30 -05:00
Russ Cox
523f31487b factotum: silence gcc warning 2007-11-05 10:37:56 -05:00
Russ Cox
d944f76407 man: document hg interface; update CVS host name 2007-11-04 20:30:18 -05:00
Russ Cox
ea55a42c96 libthread: better OS X 10.5 test (Jeff Sickel) 2007-11-03 16:10:39 -04:00
Russ Cox
32ee64c230 venti: use 9ar, not ar (fixes Darwin build problem) 2007-10-31 17:29:00 -04:00
Russ Cox
e7ae61181c libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah) 2007-10-30 13:33:12 -04:00
Russ Cox
45ac814c86 venti: fix sync deadlock, add /proc stub 2007-10-29 14:33:17 -04:00
Russ Cox
c5a183de10 grap: fclose, error context bug fixes (Doug Gwyn) 2007-10-29 10:34:43 -04:00
Russ Cox
151b86a037 srv: add -n flag to reject auth by clients 2007-10-12 12:56:57 -04:00
Russ Cox
9b25329723 9pserve: add -n flag to reject auth by clients 2007-10-12 12:55:19 -04:00
Russ Cox
4ff6950783 9p: add -n to disable authentication 2007-10-12 12:52:52 -04:00
Russ Cox
3dc14df0f7 mount: explicit u on test -S and mount to get unix versions (Chris King) 2007-10-09 19:22:43 -04:00
Russ Cox
7a400ee957 venti: new icache 2007-09-25 09:47:31 -04:00
Russ Cox
25a4e89fa9 venti: fix double free on corrupt bloom filter 2007-09-25 09:46:52 -04:00
Russ Cox
952f137f04 venti: formatting changes for wrarena 2007-09-24 22:35:57 -04:00
Russ Cox
67a65bbaa5 venti: formatting changes in fixarenas 2007-09-24 22:33:34 -04:00
Russ Cox
c1edcb95cf venti: formatting changes in findscore 2007-09-24 22:33:21 -04:00
Russ Cox
12c0e45f79 venti: throw away dcache read-ahead code 2007-09-24 22:32:46 -04:00
Russ Cox
b41e39aa1a venti: move os x linker hack 2007-09-24 22:31:26 -04:00
Russ Cox
72281ecda8 venti/randtest: compute totalbytes correctly 2007-09-24 22:29:16 -04:00
Russ Cox
50f5d1a7a8 factotum: fix build error (Axel Belinfante) 2007-09-16 17:28:44 -04:00
Russ Cox
7be768e78c auxstats: use acpi to find battery info on Linux (Andrey Mirtchovski) 2007-09-15 19:06:48 -04:00
Russ Cox
d96dce4d87 factotum: implement p9cr 2007-09-13 21:12:49 -04:00
Russ Cox
ec9247088b 9pserve: delete from correct hash slot (fix infinite loop) 2007-08-28 08:45:27 -04:00
Russ Cox
db1cda12ae venti: seal arenas without bypassing dcache 2007-08-23 19:02:35 -04:00
Russ Cox
2432b7b1e5 venti: allow partition syntax in verifyarena (Michael Kaminsky) 2007-08-23 11:53:47 -04:00
Russ Cox
6610dac99c venti: avoid race in mirrorarenas (Michael Kaminsky) 2007-08-23 11:10:58 -04:00
Russ Cox
92baf59b69 venti: add -s flag to disable redundant SHA1 in mirrorarenas 2007-08-23 11:01:20 -04:00
Russ Cox
2c0dfd420a merge 2007-08-23 10:49:54 -04:00
Russ Cox
e9f50ca103 9.rc: change to work with rc -e (Tony Lainson)
Change sense of test at end of 9.rc so that
when invoked with no arguments the test still
evaluates true, so that it works well with rc -e.
2007-08-22 11:24:34 -04:00
Russ Cox
6b0a42ed04 mailfs: fix handling of FLAGS response (Robert Vollmert) 2007-08-22 11:21:52 -04:00
Russ Cox
47ede89e4a libthread: simplify alt tracking, possibly fixing bug 2007-08-22 11:14:30 -04:00
Russ Cox
acecbb1619 acme: fix memory leak in warning (Michael Teichgräber) 2007-08-22 10:58:30 -04:00
Russ Cox
3c7f141d1c fully qualify host name 2007-08-22 10:56:22 -04:00
Russ Cox
b62db35425 add Linux x86-64 (thanks to Ævar Arnfjörð Bjarmason) 2007-08-22 10:55:39 -04:00
Russ Cox
4a6f051073 9pserve: fix a new race involving assert(c->nmsg == 0).
Just like outputthread can have processed the message
but not yet called msgput, the same is true of the
connoutthread, so we cannot check c->nmsg until
after the connoutthread has shut down gracefully.
2007-08-22 09:14:25 -04:00
Russ Cox
ebda53e16b merge 2007-08-22 09:00:26 -04:00
Russ Cox
841d71b5c6 9pserve: fix races causing assert(c->nmsg == 0) to fail.
1. Could happen that connoutthread sends c->outq a nil
just before the regular input handler sends c->outq a real message.
When the connoutthread gets the nil it will free c->outq,
leaving the real message unprocessed.

2. Could happen that the outputthread writes a message
body to the remote 9P server and then a response comes
in and then the connection gets torn down, all before the
outputthread manages to call msgput(m).
Thanks to David Swasey for identifying this scenario.

Also change yield() loop into explicit communication.

Also remove dead code involving hungup queues.
2007-08-22 08:55:08 -04:00