Issue with Row write to disk in Windows 7, when offset beyond disk size

I am facing issue with windows row write into disk, when I try to write beyond maximum disk size in windows 7. In XP it return immediately with error status, but for Windows 7 it return with status success, but the write request is not send to the port driver. The expected behavior is to return error from windows stack (disk driver) if we try to write beyond the max disk size. Also please let me know if any Windows 7 patches are available for this issue

FSCTL_ALLOW_EXTENDED_DASD_IO?


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntfsd…
>I am facing issue with windows row write into disk, when I try to write beyond maximum disk size in windows 7. In XP it return immediately with error status, but for Windows 7 it return with status success, but the write request is not send to the port driver. The expected behavior is to return error from windows stack (disk driver) if we try to write beyond the max disk size. Also please let me know if any Windows 7 patches are available for this issue
>

no I didn’t send any “FSCTL_ALLOW_EXTENDED_DASD_IO” also we are not using any file system , but directly doing raw read/write to disk