FSCTL_GET_RETRIEVAL_POINTERS

Hi all,

I met an issue that DeviceIoControl fails with an error code
ERROR_HANDLE_EOF when I try to call this IOCTL on a newly created
small file (48 bytes). If I enlarge this file for approximately
700-800 bytes DeviceIoControl succeeds. If I then reduce the size
back to 40 bytes DeviceIoControl still succeeds.

I have a suggestion that this happens because newly created small
files are stored directly in MFT so DeviceIoControl fails
preventing from using defragmenting API on MFT.

Am I right?


Roman Kudinov

mailto:xxxxx@rbcmail.ru

It fails if the file is resident inside MFT.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Roman Kudinov”
To: “Windows File Systems Devs Interest List”
Sent: Thursday, September 09, 2004 5:23 PM
Subject: [ntfsd] FSCTL_GET_RETRIEVAL_POINTERS

> Hi all,
>
> I met an issue that DeviceIoControl fails with an error code
> ERROR_HANDLE_EOF when I try to call this IOCTL on a newly created
> small file (48 bytes). If I enlarge this file for approximately
> 700-800 bytes DeviceIoControl succeeds. If I then reduce the size
> back to 40 bytes DeviceIoControl still succeeds.
>
> I have a suggestion that this happens because newly created small
> files are stored directly in MFT so DeviceIoControl fails
> preventing from using defragmenting API on MFT.
>
> Am I right?
>
> –
> Roman Kudinov
>
>
> mailto:xxxxx@rbcmail.ru
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com