[haiku-bugs] Re: [Haiku] #13612: BTRFS: Adding write support

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 15 Aug 2017 11:58:51 -0000

#13612: BTRFS: Adding write support
----------------------------------+----------------------------
   Reporter:  hyche               |      Owner:  korli
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  File Systems/Btrfs  |    Version:  R1/Development
 Resolution:                      |   Keywords:  gsoc2017
 Blocked By:                      |   Blocking:
Has a Patch:  1                   |   Platform:  All
----------------------------------+----------------------------

Comment (by pulkomandy):

 This code is used each time you mount a volume. You do not know where the
 volume comes from, maybe it was freshly formatted by mkfs, or maybe it is
 from an USB stick coming from another computer.

 According to https://btrfs.wiki.kernel.org/index.php/Manpage/mkfs.btrfs,
 the node size even changed accross btrfs versions, and both the node and
 sector size depend on the page size of the machine the FS was created on.

 So, if one carries a filesystem from one system to another (USB stick, or
 just booting different OS on the same machine), or keeps an old filesystem
 next to a newer one, you can easily end up with filesystems of different
 block sizes. We need to handle that correctly.

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

Other related posts: