The problem, as I’ve noted before, is that file size information is reported by the file system to the VM system using a direct function call. While people have reported successfully “hiding” headers within a file, I’ve never been able to convince myself there aren’t lurking failure scenarios (i.e., when you mix cached and non-cached I/O, which is always problematic, for instance). In addition, the problem we’ve been working to solve with our own toolkit is to allow compression on top of the existing file system - a problem that cannot be solved by simply changing the file size.
Thus, I have no additional insight to share but other’s might.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the next OSR File Systems class in Los Angeles, CA October 24-27, 2005.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Pablo Frank
Sent: Tuesday, October 18, 2005 11:10 AM
To: ntfsd redirect
Subject: Re:[ntfsd] I got no answer to Paging IO and Not enough storage available
Thanks, very much, Tony.
Well I really need some guide from you at this list. That’s why I’m
insisting. There’s no other way to get any help (is there?).
I’m intercepting IRP_MJ_QUERY_INFORMATION (and also
IRP_MJ_DIRECTORY_CONTROL). Must I intercept any other function? How get the
cache manager/memory manager the “real” size, and why can’t I intercept it?
I’d really appreciate any help.
Best regards.
Pablo
“Tony Mason” escribi? en el mensaje news:xxxxx@ntfsd…
If you don’t get an answer it is generally because nobody has insight to
provide. Your situation is very detailed, very specific - but all I
can say is that you have a bug in your driver.
I’ve never advocated the approach you are taking, so I don’t have much
insight into why this would happen. I can tell you it has nothing to do
with the fast I/O - it has to do with the fact you are reporting one
size for the file, while the file system is reporting a different size
of the file to the cache manager/memory manager.
Bottom line: you have a bug. You need to identify the source of the
INSUFFICIENT_RESOURCES and then figure out why. Unfortunately, while
very detailed, your situation doesn’t have an obvious answer (at least
not from the statement of the problem that you’ve given us.)
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the next OSR File Systems class in Los
Angeles, CA October 24-27, 2005.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Pablo Frank
Sent: Tuesday, October 18, 2005 1:17 AM
To: ntfsd redirect
Subject: [ntfsd] I got no answer to Paging IO and Not enough storage
available
Hi,
I sent this question before and I got no answer. I think it’s a very
specific question. I’ll send it again here:
I’m having a problem in the decryption part of a FSD. I’m getting a “not
enough storage is available to process this command” message in Notepad.
I return FALSE from the FastIoQueryStandardInfo function (the encrypted
files have a header) and provide the modified (smaller) size in the
completion routine of IRP_QUERY_STANDARD_INFORMATION. Of course I return
FALSE from the FastIoRead function and I provide the NOCACHE dispatch
function for IRP_MJ_READ. I also flushed the cache so the IRP_MJ_READ
dispatch function is actually called for NOCACHE and PAGING_IO reads.
If I return TRUE from the FastIoQueryStandardInfo function without
changing
the file size, everything goes fine, except, of course, that the file
size
is wrong!
Can you give me any suggestion.
Best regards.
Pablo
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com