SetFile.AdvanceOnly

Can anyone tell me exactly where when and how the ‘AvanceOnly’ flag
of the SetFile parameter is used?
Thanks

Advance only is set when the Cache Manager is trying to ensure the file is
of sufficient size. In general, the VM system does not do paging I/O writes
that extend the size of the file.

Regards,

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com http:

-----Original Message-----
From: Smith, Joel [mailto:xxxxx@ntpsoftware.com]
Sent: Monday, May 08, 2000 2:51 PM
To: File Systems Developers
Subject: [ntfsd] SetFile.AdvanceOnly

Can anyone tell me exactly where when and how the ‘AvanceOnly’ flag
of the SetFile parameter is used?
Thanks</http:>

Specifically, AdvanceOnly is used by the cache manager to tell the FSD to
update the file’s ValidDataLength, not to allocate storage. The storage was
already allocated by a previous IRP_MJ_SET_INFORMATION. Accordingly, NTFS
uses the AdvanceOnly flag to increase the ValidDataLength, and does not
allocate additional storage. Since FASTFAT has no concept of
ValidDataLength, it uses the AdvanceOnly flag to update the file size stored
in the directory entry, but does not allocate storage.

-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Monday, May 08, 2000 1:52 PM
To: File Systems Developers
Subject: [ntfsd] RE: SetFile.AdvanceOnly

Advance only is set when the Cache Manager is trying to
ensure the file is
of sufficient size. In general, the VM system does not do
paging I/O writes
that extend the size of the file.

Regards,

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com http:
>
>
> -----Original Message-----
> From: Smith, Joel [mailto:xxxxx@ntpsoftware.com]
> Sent: Monday, May 08, 2000 2:51 PM
> To: File Systems Developers
> Subject: [ntfsd] SetFile.AdvanceOnly
>
>
>
>
> Can anyone tell me exactly where when and how the
> ‘AvanceOnly’ flag
> of the SetFile parameter is used?
> Thanks
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nsisw.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
></http:>