Stories
Slash Boxes
Comments

SoylentNews is people

posted by hubie on Monday November 06 2023, @10:21PM   Printer-friendly
from the backups-first-before-testing-please dept.

Bcachefs Merged Into The Linux 6.7 Kernel:

Less than twenty-four hours after Bcachefs was submitted for Linux 6.7, this new open-source file-system has been successfully merged for this next kernel version.

Given the past struggles to get Bcachefs mainlined, I certainly didn't expect to see Linus Torvalds act so soon on merging it. But after it spent all of the 6.6 cycle within Linux-Next, overnight Linus Torvalds did in fact land this new file-system developed by Kent Overstreet.

[...] It's merged and I'll be running some fresh Bcachefs file-system benchmarks soon on Phoronix. Keep in mind though this file-system is initially considered experimental.

Also at bcachefs.org


Original Submission

This discussion was created by hubie (1068) for logged-in users only, but now has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
  • (Score: -1, Disagree) by bzipitidoo on Tuesday November 07 2023, @04:50AM (7 children)

    by bzipitidoo (4388) on Tuesday November 07 2023, @04:50AM (#1331796) Journal

    If they are claiming to have merge database and filesystem functionality, and they've succeeded, that's really cool. If I read it right though, they've instead used database algorithms to make a better fs, which is still nice.

    Now I'd like to see a more radical change: tags, not subdirectories. No more imposition of an order that more often than not, is not needed. We don't have to care if it is /usr/bin or /bin, or even /bin/usr, files could be tagged with "usr" and "bin". No more need for symbolic links. True, it would require considerable redesign of the OS.

    • (Score: 5, Touché) by higuita on Tuesday November 07 2023, @06:22AM (5 children)

      by higuita (2465) on Tuesday November 07 2023, @06:22AM (#1331811)

      so place a bad bash, zsh. csh or sh in your home and then all system will load a trojan?
      also, i have seen folders with thousands of files, if not even millions and doing a dir on those is painfull (even just cd can be, with even the directory meta data having hundred MB) ... having a single index for everything would be "FUN", a DoS would be just create files and see the Filesystem going to a halt loading, updating and searching the index... ooohh, use cache, just like a DB... right, but well, people may want to use the computer for something else, not to just run the filesystem :)

      KDE had a metadata support and search engine, some people use it and love it, while most people just find it annoying and a waste (it runs a mysql in the background to index the metadata)

      • (Score: 2) by PiMuNu on Tuesday November 07 2023, @12:36PM (4 children)

        by PiMuNu (3823) on Tuesday November 07 2023, @12:36PM (#1331843)

        Tags can be implemented exactly as folders (if one allows sub tags). The difference is that I can implement multiple tags on the same file.

        So YellowSubmarine.mp3 appears in MyMusic/TheBeatles and MyMusic/1966 and MyMusic/JohnLennon without all that messy soft link and hard link stuff (or windows shortcuts).

        • (Score: 2) by loonycyborg on Tuesday November 07 2023, @02:15PM (3 children)

          by loonycyborg (6905) on Tuesday November 07 2023, @02:15PM (#1331851)

          And what's the difference between subtags and symlinks/hardlinks?

          • (Score: 2) by PiMuNu on Tuesday November 07 2023, @02:26PM (2 children)

            by PiMuNu (3823) on Tuesday November 07 2023, @02:26PM (#1331852)

            tags provide a bidirectional link. A file knows what are its tags, a tag knows what are its subtags and files.

            I don't know anything, I am just throwing ideas - it's fun to think it through.

            • (Score: 3, Informative) by aafcac on Tuesday November 07 2023, @04:24PM

              by aafcac (17646) on Tuesday November 07 2023, @04:24PM (#1331893)

              Hardlinks are single file with multiple names, which is why they only work when on the same filesystem. They're great if you want one file to appear in multiple locations and they take up basically no space. A softlink is just a shortcut to a file which is why they can be on separate filesystems.

            • (Score: 3, Touché) by loonycyborg on Tuesday November 07 2023, @06:13PM

              by loonycyborg (6905) on Tuesday November 07 2023, @06:13PM (#1331913)

              If you don't know anything then you can't be sure that subtags are less messy than hardlinks/symlinks.

    • (Score: 5, Insightful) by mcgrew on Tuesday November 07 2023, @02:47PM

      by mcgrew (701) <publish@mcgrewbooks.com> on Tuesday November 07 2023, @02:47PM (#1331859) Homepage Journal

      Kids today...

      Look, kid, I want my photographs all in the same place. The PHOTO directory. Installation files go in the install directory. Books in that directory.

      Have you never filed any physical document in a file cabinet? I can find in seconds what I want from my 4 tb server's directories than Windows or Linux search facilities can, no matter how well written their database algorithm is.

      If you don't like directories, fine, dump everything in the root, it's your computer. But try to take mine away and you'll have a fight on your hands. You do realize that the computer doesn't care, don't you?

      --
      Impeach Donald Saruman and his sidekick Elon Sauron
  • (Score: 3, Interesting) by hendrikboom on Wednesday November 08 2023, @01:04AM (5 children)

    by hendrikboom (1125) on Wednesday November 08 2023, @01:04AM (#1332009) Homepage Journal

    What makes bcacbefs different from or better than other file systems?

    The main thing I demand of my file systems is utter reliability, even to the point of preserving data despite unexpected power outages.

    • (Score: 2) by maxwell demon on Wednesday November 08 2023, @06:03AM (4 children)

      by maxwell demon (1608) on Wednesday November 08 2023, @06:03AM (#1332057) Journal

      From https://en.wikipedia.org/wiki/Bcachefs [wikipedia.org]

      It is intended to compete with the modern features of ZFS or Btrfs, and the speed and performance of ext4 or XFS.

      The main thing I demand of my file systems is utter reliability, even to the point of preserving data despite unexpected power outages.

      Given that it is a copy-on-write file system, there should be a good chance of it achieving it (of course no file system can preserve data that's still in RAM when a power outage occurs, nor can it prevent errors the hard disk itself introduces on power outage).

      --
      The Tao of math: The numbers you can count are not the real numbers.
      • (Score: 2) by aafcac on Thursday November 09 2023, @01:25AM (3 children)

        by aafcac (17646) on Thursday November 09 2023, @01:25AM (#1332204)

        That's what UPS and parity are for.

        • (Score: 2) by maxwell demon on Thursday November 09 2023, @05:28AM (2 children)

          by maxwell demon (1608) on Thursday November 09 2023, @05:28AM (#1332228) Journal

          Parity can detect errors. It cannot correct them.

          --
          The Tao of math: The numbers you can count are not the real numbers.
          • (Score: 2) by Unixnut on Thursday November 09 2023, @01:11PM

            by Unixnut (5779) on Thursday November 09 2023, @01:11PM (#1332257)

            > Parity can detect errors. It cannot correct them.

            Parity can correct errors if designed to do it, it is what allows RAID sets to be rebuilt from remaining data after it detects errors .

            To my knowledge only the "Parity check bit" system is the one that cannot correct errors, but only detects them. However that is because it is not designed to. Its goals were simplicity and speed with error detection.

          • (Score: 2) by aafcac on Thursday November 09 2023, @09:27PM

            by aafcac (17646) on Thursday November 09 2023, @09:27PM (#1332314)

            ZFS can because it was designed to do so. So can quickpar. There are some issues, but in general as long as there's all of the file on some communication of volumes it can be repaired.

(1)