阅读:1526回复:1
对文件的写操作是不是只需要处理IRP_WRITE?感谢
对文件的写操作是不是只需要处理IRP_WRITE?
是不是Fast_IO中的写到最后都会转成成IRP_WRITE,只是有可能多个Fast_IO_Write会合并成一个IRP_Write下来 我只需获取对某个文件那个区级进行了修改,感谢 |
|
|
沙发#
发布于:2009-02-11 23:41
对文件的写操作是不是只需要处理IRP_WRITE? Usually MJ_CREATE is a must. 是不是Fast_IO中的写到最后都会转成成IRP_WRITE,只是有可能多个Fast_IO_Write会合并成一个IRP_Write下来 FastIo writes user data into cache. CM flushes cache page by page. If FastIo writes data into the same page, maybe there's only one page write later. But don't depend on it because how and when to flush cache is up to CM. |
|