[haiku-bugs] Re: [Haiku] #15569: usb_disk stalls & unmounts when large I/O transfers are not queued

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 12 Mar 2020 20:09:50 -0000

#15569: usb_disk stalls & unmounts when large I/O transfers are not queued
--------------------------------+----------------------------
   Reporter:  X512              |      Owner:  nobody
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  Drivers/Disk/USB  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------
Comment (by waddlesplash):

 It appears our SCSI layer exports B_DMA_MAX_TRANSFER_BLOCKS:
 https://xref.landonf.org/source/xref/haiku/src/add-
 ons/kernel/bus_managers/scsi/devices.cpp#133

 Which is handled by DMAResource:
 
https://xref.landonf.org/source/xref/haiku/src/system/kernel/device_manager/dma_resources.cpp#134

 usb_disk, however, does not use DMAResource, and even if it used the SCSI
 stack it probably would bypass DMAResource anyway.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15569#comment:16>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: