qio: implement pullupblock() for block extra data
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 5 Jun 2019 21:31:22 +0000 (17:31 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 6 Jun 2019 13:44:09 +0000 (09:44 -0400)
commit2a9ae721675522835bce4033a0966a4f97470878
tree7a3dcc0d3632027dd8427e484db88914b2dc9a6c
parent858ceef5a4b2da0bb9e1758ff1f42254f9c2e43f
qio: implement pullupblock() for block extra data

mnt tickled this when mounting ufs served from a VM.  We had a
large-enough pullupblock that reached into the ebd.  This required
calling pullupblock on something that wasn't just network data.  #mnt
also did a few things like read just the 9p headers, then read the rest,
which may have caused the issue.  Either that, or it was just a larger
packet.

Anyway, the time has come to fix the block extra data once and for all.
While we're here, I changed it to take a size_t as well.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/ns.h
kern/src/ns/qio.c