Re: Disk Cache Patch
Steve Dobbelstein <[email protected]> Tue, 12 Jun 2007 12:18:00 -0500
| Newsgroups | gmane.linux.evms.devel |
|---|---|
| Message-ID | <OFB10F3926.E6E9D4BD-ON052572F8.005344A6-052572F8.005F0286@us.ibm.com> |
"Changju Gao" <[email protected]> wrote on 06/06/2007 11:30:21 AM: > The local disk cache uses the address of an object as the > identification for a cached entry. > However, the addresses are not unique (in some cases). In our tests, > the cache returned > wrong data and caused serious problems. > > I changed the code to use the device major/minor number to identify > cache entries. > > The attached patch fixes the problems we saw. > > Best regards, > > > - Changju Gao Hi, Changju. Thanks for the patch. I am curious how the address of the data structure for the disk is not unique. If the data structures for two different disks are at the same address there would be many other serious problems. In what situation did you see that the addresses are not unique? Steve D. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Evms-devel mailing list [email protected] To subscribe/unsubscribe, please visit: https://lists.sourceforge.net/lists/listinfo/evms-devel