Closed Bug 649189 Opened 14 years ago Closed 13 years ago

Need a tool to flush cache on windows

Categories

(Testing :: Talos, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: taras.mozilla, Assigned: kael)

References

()

Details

Need something like http://support.microsoft.com/kb/311272 where we'd say remount d:\ and the tool would figure out the underlying drive and disable/enable it to flush the associated caches
This looks a lot like bug 522807.
Oh sorry, you are using this as a blocking bug. Nevermind.
(In reply to comment #2) > Oh sorry, you are using this as a blocking bug. Nevermind. Yeah, we need to write you a tool so talos can do the test.
The tool I built for this is located at https://github.com/kevingadd/DeviceRemount . Unfortunately, it doesn't seem to flush all the caches we care about, so a more complex approach is necessary. The current version of the tool works by disabling and then enabling the individual storage volume associated with a disk drive. In some cases Windows seems to leave the actual physical storage device active, and it's possible that it is failing to flush caches built into the storage device or leaving cached pages in memory.
I am unclear how this will work with talos. This is a year old and I haven't seen traction on this. Please outline the next steps for talos or lets close this bug.
This does seem feasible on windows
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Now that I wontfixed this, kael pointed me at http://technet.microsoft.com/en-us/sysinternals/bb897561
You need to log in before you can comment on or make changes to this bug.