[haiku-bugs] Re: [Haiku] #3150: BFS directory corruption.

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 05 Sep 2018 19:33:35 -0000

#3150: BFS directory corruption.
--------------------------------+------------------------------------
   Reporter:  bga               |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  blocker           |  Milestone:  R1
  Component:  File Systems/BFS  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:  3932, 4011, 8712, 9761
Has a Patch:  0                 |   Platform:  x86
--------------------------------+------------------------------------

Comment (by philcostin):

 If the disk doesn't have a battery backed cache but BFS is using the cache
 and not fsync'ing on unmount, surely it would only be an unclean shutdown
 that could cause this - unless of course the system shutdown completes on
 another thread before such time as the disk driver has had a chance to
 fsync. Apologies if my terminology is a little rusty, it's been a while
 since I read about this aspect of storage / syscall usage.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/3150#comment:53>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: