The code is in /usr/local/plan9/src/cmd/venti/srv/part.c. And it is very complicated. Far too complicated, but hey, that's modern Unix.
It looks like pwrite is being asked to write 64k and only writing 16k. That alone shouldn't be a problem unless the code believes the fs block size is > 16k. I don't see anything obviously wrong (it's that complicated) but I would certainly accept bug fixes. ;-) Russ
