News for hackers. Stuff that matters.
Re:BCache Gets New Maintainer, NVMe Improvements and More fo... by DiThi on Wednesday November 15, 2017 @08:11AM (#15703483)
Would BtrFS mix well with BCache? Does anyone recommend it if I want zSTD compression?

Otherwise, what compression options does BCacheFS offer? Is BCacheFS stable enough?

Re:BCache Gets New Maintainer, NVMe Improvements and More fo... by rogerbinns on Wednesday November 15, 2017 @10:49AM (#15704539)
TLDR: I do not recommend using bcache with btrfs, but this is a sample of 1.

I've been using bcache (SSD) with btrfs (4TB hard drive) for while, and am in the process of ripping it out. What I found is the filesystem gets wedged if there is a heavy write load (lots of files) such as running debootstrap. This happened with both write-through and write-back. The symptoms are all requests stall and a kernel log message about hung btrfs tasks. Only a reboot (typically needing sysrq keys to complete) works.

The problem did not occur previously when using btrfs without bcache and the same workload. It also doesn't occur during "lighter" workloads.

Re:BCache Gets New Maintainer, NVMe Improvements and More fo... by ConfucianNardin on Wednesday November 15, 2017 @11:49AM (#15705155)
See under the status headline on http://bcachefs.org/ and decide for yourself whether that's good enough for your use case.
Re:BCache Gets New Maintainer, NVMe Improvements and More fo... by rogerbinns on Wednesday November 15, 2017 @12:44PM (#15705759)
Wrong filesystem. bcache is the one that sits in front of another filesystem, and improves its performance. bcachefs (your link) is from the same author, but is a standalone filesystem.

https://en.wikipedia.org/wiki/Bcache

Re:BCache Gets New Maintainer, NVMe Improvements and More fo... by DiThi on Wednesday November 15, 2017 @01:24PM (#15706274)
I've asked about both, but it's always good to clear things out.
Re:BCache Gets New Maintainer, NVMe Improvements and More fo... by bitbang on Wednesday November 15, 2017 @10:35AM (#15704422)
I have been using a BCache (SSD) in front of a BtrFS Native RAID (HDD) for quite a while without issue.