haiku/headers/os/drivers
Ingo Weinhold 98a5231fe5 Introduce vnode op supports_operation(), fix devfs_io()
devfs_io() can't fall back to calling vfs_synchronous_io(), if the
device driver doesn't support handling requests asynchronously. The
presence of the io() hook leads the VFS (do_iterative_fd_io()) to
believe that asynchronous handling is supported and set a
finished-callback on the request which calls the io() hook to start the
next chunk. Thus, instead of iterating through the request in a loop
the iteration happens recursively. For sufficiently fragmented requests
the stack may overflow (ticket #9900).

* Introduce a new vnode operation supports_operation(). It can be called
  by the VFS to determine whether a present hook is actually currently
  supported for a given vnode.
* devfs: implement the new hook and remove the fallback handling in
  devfs_io().
* vfs_request_io.cpp: use the new hook to determine whether the io()
  hook is really supported.
2013-07-27 17:45:59 +02:00
..
bus pci: change offset type to uint16 in config space API. 2013-06-24 19:29:00 +02:00
pcmcia
tty * Seperate out the tty_close_cookie from tty_destory_cookie and make the former 2011-06-13 20:44:22 +00:00
usb some cosmetics 2011-04-11 22:30:18 +00:00
ACPI.h Pass a handle to evaluate_object as start point. 2012-12-15 14:10:11 +01:00
atomizer.h Applied slightly reworked and updated patch from ticket #1576 2011-10-29 15:38:20 +00:00
bios.h Added new BIOS module for calling BIOS interrupts. 2012-08-03 15:42:30 +01:00
bus_manager.h
config_manager.h
cpuidle.h cpuidle: move generic cpuidle to generic 2012-11-18 17:39:19 +01:00
device_manager.h
disk_device_manager.h
dpc.h
driver_settings.h
Drivers.h * Added a new B_GET_DEVICE_NAME ioctl - this should be implemented by all 2011-01-13 19:41:01 +00:00
fs_cache.h
fs_interface.h Introduce vnode op supports_operation(), fix devfs_io() 2013-07-27 17:45:59 +02:00
interrupt_controller.h
io_requests.h
ISA.h Ported ISA bus manager and PS/2 driver. 2012-07-30 14:37:28 +01:00
isapnp.h
KernelExport.h nfs4: Use semaphore to cancel threads instead of interrupt_thread() 2012-07-08 23:33:44 +02:00
locked_pool.h
midi_driver.h
mime_table.h
module.h
PCI_x86.h PCI: the x86 module now exports an MSI-X API. 2013-07-09 23:53:29 +02:00
PCI.h PCI: added some missing subclasses definitions 2013-07-10 20:57:06 +02:00
Select.h
USB2.h
USB3.h
USB_printer.h
USB_rle.h
USB_spec.h some cosmetics 2011-04-11 22:30:18 +00:00
USB.h