[haiku-bugs] [Haiku] #8889: Wrong data read from discarded block if transaction isn't flushed

  • From: "ahenriksson" <trac@xxxxxxxxxxxx>
  • Date: Wed, 15 Aug 2012 16:46:52 -0000

#8889: Wrong data read from discarded block if transaction isn't flushed
---------------------------+------------------------------
 Reporter:  ahenriksson    |        Owner:  axeld
     Type:  bug            |       Status:  new
 Priority:  normal         |    Milestone:  R1
Component:  System/Kernel  |      Version:  R1/Development
 Keywords:  block cache    |   Blocked By:
 Blocking:                 |  Has a Patch:  0
 Platform:  All            |
---------------------------+------------------------------
 If a block has been discarded, but is still in an unflushed transaction,
 old cached data will be read instead of the data on the disk.

 Attached is some code to reproduce the problem (can also be seen as a more
 detailed problem description), as well as my attempt at fixing it.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8889>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: