[haiku-bugs] Re: [Haiku] #17651: Super "fast" copy BeFS to BeFS files

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 13 Sep 2022 20:38:13 -0000

#17651: Super "fast" copy BeFS to BeFS files
-----------------------------------+----------------------------
  Reporter:  Windes                |      Owner:  nobody
      Type:  bug                   |     Status:  closed
  Priority:  normal                |  Milestone:  R1/beta4
 Component:  Applications/Tracker  |    Version:  R1/Development
Resolution:  fixed                 |   Keywords:
Blocked By:                        |   Blocking:
  Platform:  All                   |
-----------------------------------+----------------------------
Comment (by waddlesplash):

We can still do a reasonably accurate progress bar: it would progress to
 50% after doing all the copies, and then to 100% after doing all the Sync,
 for example

 But then on most systems the progress bar will just lock at 50% for a long
 time and jump to 100% immediately, or it will jump from 50 to 100 without
 any delay. Neither is a good idea.

 The only different way to solve this problem that seems acceptable to me
 would be doing write+sync in one stage in one thread, with reads in a
 separate thread. But in my experience, again, reads are so much faster
 than writes that the architectural modifications to support this are
 likely not worth making.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17651#comment:11>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: