Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/venti-writechan/readme
Allocate p->writechan during getdblock of a potentially-written block, to cut off race between dirtydblock and flush proc.