UnionFaps
bcachefs from patreon
bcachefs patreon

Status update - fast mount times, reflink

🕑 Added 2018-11-30 19:04:29 +0000 UTC

Comments

If I may make a suggestion, I think it would be helpful to upstream the core kernel changes beforehand. That way new users would be able to use bcachefs from a dkms build rather than requiring them to recompile their whole kernel.

Kent Overstreet

Yeah, it's not atomic. Not sure - I really dislike the idea of doing that approach in the kernel, but there might be tricks to make approach that better, it'll something to think about when it comes time to start thinking about snapshots again.

cp -a --reflink isn't atomic though, right? Would it be much effort to have a "poor man's snapshot" in the kernel that simply holds a lock on the filesystem until it completes? (btrfs's snapshot performance feels like that's basically what it does anyway)

Kent Overstreet

My current plan is to start working on upstreaming again after reflink is done, which ought to be within the next 3-6 months.

Jonatan R

How is upstreaming looking?

Kent Overstreet

No, full snapshots will be a lot more work. But I think reflink will perform well enough that at least some people will be able to use it instead of snapshots - e.g. by just doing cp -a --reflink. I'm actually pretty excited to get started on reflink, I think the design is going to turn out really nicely.

Oh wow, that looks amazing! Is this also all the low level work needed to achieve snapshots, out is there more to that?


More Creators