summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-07 06:25:26 +0000
committerphk <phk@FreeBSD.org>2002-10-07 06:25:26 +0000
commit05568a1e183e75bdc8edaa948f276ddd47ebc8cb (patch)
tree12c86e8396fed513177c4639d423b328584ee616 /usr.bin
parentd0cb388eeab801d8cb58ad70b358a55fe82b5976 (diff)
downloadFreeBSD-src-05568a1e183e75bdc8edaa948f276ddd47ebc8cb.zip
FreeBSD-src-05568a1e183e75bdc8edaa948f276ddd47ebc8cb.tar.gz
Copyin and copyout are only possible from a process-native thread,
and therefore we need a way for ioctl handlers to run in that thread in GEOM. Rather than invent a complicated registration system to recognize which ioctl handler to use for a given ioctl, we still schedule all ioctls down the tree as bio transactions but add a special return code that means "call me directly" and have the geom_dev layer do that. Use this for all ioctls that make it as far as a diskdriver to avoid any backwards compatibility problems. Requested by: scottl Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud