tag:blogger.com,1999:blog-2607884204445547877.post8910546182600137268..comments2024-02-21T09:00:29.950+00:00Comments on Sprezzatura :: Making Databases Happen: Linear Hash RehashedMat O'Marahhttp://www.blogger.com/profile/13399126449062272733noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2607884204445547877.post-54128661572717991592018-04-11T11:42:41.623+01:002018-04-11T11:42:41.623+01:00Sorry for some reason we didn't get a notifica...Sorry for some reason we didn't get a notification of your comment! Per the docs there is a specific flag you need to set to ensure it isn't cached. The FILE_FLAG_WRITE_THROUGH flag. As you can see above that ISN'T set so the default is to cache.Sprezzhttps://www.blogger.com/profile/08866141305592910267noreply@blogger.comtag:blogger.com,1999:blog-2607884204445547877.post-15554862908639463552016-05-22T22:40:27.456+01:002016-05-22T22:40:27.456+01:00Cool, but I don’t quite understand this bit:
“………...Cool, but I don’t quite understand this bit:<br /><br />“…………A new registry flag has been added called CreateFileFlags. The service expects that, if this registry entry exists, it has a DWORD value. If it’s not set, its default value is the value associated with:<br /><br />FILE_ATTRIBUTE_NORMAL | FILE_FLAG_RANDOM_ACCESS | FILE_FLAG_OVERLAPPED (which evaluates to 0x50000080)<br />So the developer can now ensure that writes are passed straight through to the disk and not cached.”<br /><br />So the default is cached OR passed through.?<br /><br />So the developer 'can be ensured that it is not cached' *OR* 'the developer can ensure it is not cached by setting himself'.?<br />Barry Stevenshttps://www.blogger.com/profile/00681873763085935897noreply@blogger.com