summaryrefslogtreecommitdiff
path: root/include/ftw.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2010-07-01 21:27:40 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2010-07-01 21:27:40 +0000
commit9b5af8fa665fbe2d5508c1aac172c7a864618c3d (patch)
tree235f6eb84a99018827a5c873505f0bfe799c5090 /include/ftw.h
parentde101667466fd782081d6f7cb241706f15b3d283 (diff)
Implement vs{,un}lock_device and use it for physio.
Just like normal vs{,un}lock, but in case the pages we get are not dma accessible, we bounce them, if they are dma acessible, the functions behave exactly like normal vslock. The plan for the future is to have fault_wire allocate dma acessible pages so that we don't need to bounce (especially in cases where the same buffer is reused for physio over and over again), but for now, keep it as simple as possible.
Diffstat (limited to 'include/ftw.h')
0 files changed, 0 insertions, 0 deletions