In my driver for a disk drive, I respond to IOCTL_DISK_GET_DRIVE_GEOMETRY
with
typedef struct _DISK_GEOMETRY {
LARGE_INTEGER Cylinders; = Number of sectors
MEDIA_TYPE MediaType; RemovableMedia
ULONG TracksPerCylinder; = 1
ULONG SectorsPerTrack; = 1
ULONG BytesPerSector; = Sector Size
} DISK_GEOMETRY
Now I wonder if TracksPerCylinder or SectorsPerTrack are used by FAT or NTFS
for read/write optimizations. For instance, if I set TracksPerCylinder
and/or SectorsPerTrack to 16, would the file systems try to read/write using
buffers of (16*SectorSize) or so bytes?
My goal is to make file systems send larger i/o buffers down to my drive. My
question is whether DISK_GEOMETRY affects this in any way.
Thanks,
Steve
--