none
MaximumTransferLength in Storport RRS feed

  • Question

  • Hi, 

    I am developing a Storport miniport driver for a SCSI controller.

    But the disk drive connected to this controller has a 256K transfer size limitation for the read/write command.

    This is not the limitation of the controller.

    Do I need to set the MaximumTransferLength in PORT_CONFIGURATION_INFORMATION to 256K for this limitation?

    Or How can I set this limitation for the disk drive?

    Friday, October 18, 2013 9:29 AM

Answers

  • Hi David,

    Yes, I'd suggest to set MaximumTransferLength in PORT_CONFIGURATION_INFORMATION to 256K for this limitation. Storport transfer size limitation is per controller base, thus you want to set the value to be the smallest value of hardware can support.

    Regards,

    Michael Xing [MSFT] 

    Friday, October 18, 2013 4:40 PM

All replies

  • Hi David,

    Yes, I'd suggest to set MaximumTransferLength in PORT_CONFIGURATION_INFORMATION to 256K for this limitation. Storport transfer size limitation is per controller base, thus you want to set the value to be the smallest value of hardware can support.

    Regards,

    Michael Xing [MSFT] 

    Friday, October 18, 2013 4:40 PM
  • Thanks, Michael!

    My user application use IOCTL_SCSI_MINIPORT  to get some data from the miniport driver, and the data buffer is larger than 256K Bytes. 

    So if I set the MaximumTransferLength = 256K, will it make the IOCTL failed?

    Sunday, October 20, 2013 3:02 PM