CM is flushing unmodified data?

In my IFS, the cache manager is writing data to the disk that was simply
read and not modified. Any ideas on where this type of problem might come
from? Could it have something to do with MmProbeAndLockPages?

Thanks in advance,
– Demyn


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

What are you setting as the ValidDataLength when you report sizes to the
Cache Manager (via CcSetFileSizes.) If the Cache Manager has data beyond the
ValidDataLength, it will treat that as dirty and write it back.

Regards,

Tony

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

See the new NTFSD FAQ on the OSR Web Site!

-----Original Message-----
From: Demyn Plantenberg [mailto:xxxxx@hotmail.com]
Sent: Monday, October 01, 2001 9:35 PM
To: File Systems Developers
Subject: [ntfsd] CM is flushing unmodified data?

In my IFS, the cache manager is writing data to the disk that was simply
read and not modified. Any ideas on where this type of problem might come
from? Could it have something to do with MmProbeAndLockPages?

Thanks in advance,
– Demyn


You are currently subscribed to ntfsd as: xxxxx@osr.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

Actually, I’ve been setting ValidDataLength to -1. Nagar suggests you can
do this if you’re not interested in maintaining a ValidDataLength.

Thanks…great lead! I’ll let you know if changing this solves the problem.

– Demyn

----- Original Message -----
From: “Tony Mason”
To: “File Systems Developers”
Sent: Tuesday, October 02, 2001 8:15 AM
Subject: [ntfsd] RE: CM is flushing unmodified data?

> What are you setting as the ValidDataLength when you report sizes to the
> Cache Manager (via CcSetFileSizes.) If the Cache Manager has data beyond
the
> ValidDataLength, it will treat that as dirty and write it back.
>
> Regards,
>
> Tony
>
> Tony Mason
> Consulting Partner
> OSR Open Systems Resources, Inc.
> http://www.osr.com
>
> See the new NTFSD FAQ on the OSR Web Site!
>
> -----Original Message-----
> From: Demyn Plantenberg [mailto:xxxxx@hotmail.com]
> Sent: Monday, October 01, 2001 9:35 PM
> To: File Systems Developers
> Subject: [ntfsd] CM is flushing unmodified data?
>
> In my IFS, the cache manager is writing data to the disk that was simply
> read and not modified. Any ideas on where this type of problem might come
> from? Could it have something to do with MmProbeAndLockPages?
>
> Thanks in advance,
> – Demyn
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@osr.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@hotmail.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

The flushing unmodified data problem doesn’t appear to be related to
ValidDataLength. The code was change so that ValidDataLength and FileSize
are always identical, but the behavior didn’t change.

Other ideas would be welcome.

Thanks,
Demyn

----- Original Message -----
From: “Demyn Plantenberg”
To: “File Systems Developers”
Sent: Tuesday, October 02, 2001 9:02 AM
Subject: [ntfsd] RE: CM is flushing unmodified data?

> Actually, I’ve been setting ValidDataLength to -1. Nagar suggests you can
> do this if you’re not interested in maintaining a ValidDataLength.
>
> Thanks…great lead! I’ll let you know if changing this solves the
problem.
>
> – Demyn
>
> ----- Original Message -----
> From: “Tony Mason”
> To: “File Systems Developers”
> Sent: Tuesday, October 02, 2001 8:15 AM
> Subject: [ntfsd] RE: CM is flushing unmodified data?
>
>
> > What are you setting as the ValidDataLength when you report sizes to the
> > Cache Manager (via CcSetFileSizes.) If the Cache Manager has data beyond
> the
> > ValidDataLength, it will treat that as dirty and write it back.
> >
> > Regards,
> >
> > Tony
> >
> > Tony Mason
> > Consulting Partner
> > OSR Open Systems Resources, Inc.
> > http://www.osr.com
> >
> > See the new NTFSD FAQ on the OSR Web Site!
> >
> > -----Original Message-----
> > From: Demyn Plantenberg [mailto:xxxxx@hotmail.com]
> > Sent: Monday, October 01, 2001 9:35 PM
> > To: File Systems Developers
> > Subject: [ntfsd] CM is flushing unmodified data?
> >
> > In my IFS, the cache manager is writing data to the disk that was simply
> > read and not modified. Any ideas on where this type of problem might
come
> > from? Could it have something to do with MmProbeAndLockPages?
> >
> > Thanks in advance,
> > – Demyn
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@osr.com
> > To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> > To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
> —
> You are currently subscribed to ntfsd as: xxxxx@hotmail.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