Logging WRITE/READ request

Hi, I was wondering where I should log read/write request, because as
you know a file system may support fast i/o routines, so where I should
log the request? Should I log it in IRP_MJ_WRITE or FastIoWrite? Its
important to note that while logging, I don’t make any difference
between FastIoWrite and IRP_MJ_WRITE, I just want to know what kind of
operation (read/write) is being performed on the file.
Thanks.

Lorenzo

from your requirements, you should log both as both are write requests. you
may consider logging a successful FastIoWrite, or a failed FastIoWrite
followed by a IRP_MJ_WRITE (whether successful or fail), or a IRP_MJ_WRITE
(whether successful or fail) only.

Ampsi

----- Original Message -----
From: “Lorenzo”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Sunday, October 26, 2003 16:21
Subject: [ntfsd] Logging WRITE/READ request

Hi, I was wondering where I should log read/write request, because as
you know a file system may support fast i/o routines, so where I should
log the request? Should I log it in IRP_MJ_WRITE or FastIoWrite? Its
important to note that while logging, I don’t make any difference
between FastIoWrite and IRP_MJ_WRITE, I just want to know what kind of
operation (read/write) is being performed on the file.
Thanks.

Lorenzo


You are currently subscribed to ntfsd as: xxxxx@hotmail.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

An easy way would be to fail FastIoWrite, then all
writes would come through as IRP_MJ_WRITEs.

Randy

— Lorenzo wrote:
> Hi, I was wondering where I should log read/write
> request, because as
> you know a file system may support fast i/o
> routines, so where I should
> log the request? Should I log it in IRP_MJ_WRITE or
> FastIoWrite? Its
> important to note that while logging, I don’t make
> any difference
> between FastIoWrite and IRP_MJ_WRITE, I just want to
> know what kind of
> operation (read/write) is being performed on the
> file.
> Thanks.
>
> Lorenzo
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/