EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Question regarding memory mapping and data consistency

Posted: 01/14/2010 03:17:34
by Mezeo Support (Basic support level)
Joined: 12/29/2009
Posts: 40

I executed MaintainSectionMappingTest test from IFS test on the file system implemeted using callback framework.A user mapped section is created with an open file handle. The file handle can be closed and the user mapped section maintained. Test performs following

1 A test file is opened.
2 A user mapped section or view are created with the open handle.
3 The handle is closed.
4 A view on the section is used to verify the file contents are still accessible.
5 Another attempt is made at opening the test file with zero-share access (nothing is shared).
6 Some data is written to the opened test file.
7 The written data is verified to exist in the mapped section.
8 The file is closed.

I got following failure message.

Group: SectionsCaching
MaintainSectionMappingTestTest :MaintainSectionMappingTest
Group :SectionsCaching
Description :{Msg# seccache!maintsec!16} The data in the view does
not match the data that was written to the test file
\maintsec.dat. The write occurred after a section
and view were created. Ranges is 0 to 32768. Location
is 0.

I tried same test on ntfs. It succeeds. I found trouble in trying Vmounter sample as I already mentioned and could not verify for the test.

It seems callback implementation from user mode cant have impact on data consistency. Correct me if I am wrong.
Posted: 01/15/2010 12:41:30
by Eugene Mayevski (Team)

Moved to HelpDesk

Sincerely yours
Eugene Mayevski



Topic viewed 1688 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!