Hi,
I have a SCSI miniport driver that will enumerate
virtual disks (fixed media) for windows server 2003. I
have set the MaximumTransferLength to 69632 and
NumberOfPhysicalBreaks to 17 in
PORT_CONFIGURATION_INFORMATION of ScsiFindAdapter()
function. Actually the maximum transfer length I want
to support is 65536. (If I put the
MaximumTransferLength as 65536 bytes, format fails
for disk sizes > 1GB with allocation size > 1k. So, I
put it as 69632 bytes).
ConfigInfo->ScatterGather = FALSE;
ConfigInfo->BufferAccessScsiPortControlled = TRUE;
ConfigInfo->MaximumTransferLength = 69632;
ConfigInfo->NumberOfPhysicalBreaks = 17;
ConfigInfo->MapBuffers = TRUE;
ConfigInfo->NeedPhysicalAddresses = FALSE;
I have one problem if I try to extend an NTFS
volume using FSCTL_EXTEND_VOLUME ioctl. The I/O
requests are sent with transfer size 69632 bytes
instead of 65536 bytes. If I limit the
MaximumTransferLength in
PORT_CONFIGURATION_INFORMATION to 65536,
FSCTL_EXTEND_VOLUME works fine. But since that will
affect format of disks beyond 1GB, I will have
problem.
Am I missing anything in SCSI miniport driver that
causes this problem or this is a problem in NTFS
implementation?
Regards,
Janardhanan.R.
Do you Yahoo!?
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com