[haiku-bugs] Re: [Haiku] #6683: KDL when unplugging a mounted USB flash stick

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Thu, 30 Sep 2010 16:20:22 -0000

#6683: KDL when unplugging a mounted USB flash stick
----------------------------+-----------------------------------------------
  Reporter:  x-ist          |         Owner:  axeld         
      Type:  bug            |        Status:  new           
  Priority:  normal         |     Milestone:  R1            
 Component:  System/Kernel  |       Version:  R1/Development
Resolution:                 |      Keywords:                
Blocked By:                 |   Has a Patch:  0             
  Platform:  All            |      Blocking:                
----------------------------+-----------------------------------------------
Changes (by anevilyak):

  * owner:  nobody => axeld
  * component:  - General => System/Kernel


Comment:

 Replying to [comment:1 Disreali]:
 > Every OS that I've used has the same requirement. That won't change. You
 answered your own question.

 Sure, but usually the result is data loss on the stick in question, not an
 OS panic. In this case however, the problem actually lies in the block
 cache, since it considers any failure to write a block back to disk as
 critical (which would probably bite you if a hard disk had a bad block as
 well). That should probably be reworked so the error can be propagated
 back to the originator of the write request, so decisions about how
 critical the failure is can be made where needed.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6683#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: