RV: Re: FsContext2

It is used not only by NTFS but also whatever file system. Normally ,it’s
used for storing the CCB(A Context Control Block represents an open instance
of an on-disk object) structure but another similar structure is also
possible.
See FASTFAT about its use.

Jose Mari Lopez

At 03:11 PM 9/6/01 +0400, you wrote:
>Does anyone can tell me what contains in the FsContext2 fiel of the
>FILE_OBJECT.

If I’m correct it’s used for NTFS. But I’m not sure wat the underlying
functionality is.


Bartjan Wattel


You are currently subscribed to ntfsd as: xxxxx@pandasoftware.es
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Pointer to some data structure private to the FSD.
Its format is 100% FSD-specific.
It is used, for instance, to remember the pattern and the current position
for the directory search.

Max

----- Original Message -----
From: “Ilia Rabinovich”
To: “File Systems Developers”
Sent: Thursday, September 06, 2001 3:11 PM
Subject: [ntfsd] FsContext2

> Hi, people!
>
> Does anyone can tell me what contains in the FsContext2 fiel of the
> FILE_OBJECT.
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Wouldn’t it be nice if things were so simple?

Mr. Lovinger once posted the following:

-----Original Message-----
From: Daniel Lovinger [mailto:xxxxx@Exchange.Microsoft.com]
Sent: Wednesday, June 21, 2000 1:16 AM
To: File Systems Developers
Subject: [ntfsd] RE: IRQL in FSD/Filter driver

And how the FSD can specify what stream is regular and what is MNW?
By PinAccess parameter to CcInitializeCacheMap?

This is keyed off the FsContext2 field of the fileobject which first
initiates caching - if it is non-NULL, it is a regular file, if NULL and
the fcb common header flags2 field does not contain
FSRTL_FLAG2_DO_MODIFIED_WRITE, the file is modified-no-write. MNW means
that the lazy writers are the only threads that can write dirty pages in
the stream.

For example, all internal metadata in FAT is modified through MNW
streams (directory streams and the virtual volume file).

So - low-level writes are always page-sized, even low-level metadata

writes?

Paging IO is from pages, truncated to filesize (which the filesystem
will round up to sector size).

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Thursday, September 06, 2001 11:54 AM
To: File Systems Developers
Subject: [ntfsd] Re: FsContext2

Pointer to some data structure private to the FSD.
Its format is 100% FSD-specific.
It is used, for instance, to remember the pattern and the
current position
for the directory search.

Max

----- Original Message -----
From: “Ilia Rabinovich”
> To: “File Systems Developers”
> Sent: Thursday, September 06, 2001 3:11 PM
> Subject: [ntfsd] FsContext2
>
>
> > Hi, people!
> >
> > Does anyone can tell me what contains in the FsContext2 fiel of the
> > FILE_OBJECT.
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nsisoftware.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com