Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2002 23:25:27 -0700 (PDT)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys errno.h src/sys/geom geom.h geom_dev.c geom_disk.c
Message-ID:  <200210070625.g976PRIj067380@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2002/10/06 23:25:27 PDT

  Modified files:
    sys/sys              errno.h 
    sys/geom             geom.h geom_dev.c geom_disk.c 
  Log:
  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
  
  Revision  Changes    Path
  1.27      +7 -0      src/sys/geom/geom.h
  1.25      +10 -18    src/sys/geom/geom_dev.c
  1.23      +8 -24     src/sys/geom/geom_disk.c
  1.25      +1 -0      src/sys/sys/errno.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210070625.g976PRIj067380>