UnionFaps
bcachefs from patreon
bcachefs patreon

Tiering is dead; long live disk groups

🕑 Added 2018-02-20 21:03:09 +0000 UTC

Comments

Just wondering, are these addressed/implemented in the current codes?

Kent Overstreet

Not currently... would have to teach the background threads (copygc/rebalance) to be aware of it and not wake the drive up unnecessarily. Good wishlist feature, though

Just to make sure - does it play well with hdparm -S ? I would like to get my HDD group asleep (e.g. silent) almost all the time, because SSDs should be enough for majority of operations. (The scenario is storage of media. 2 2TB SSDs are not enough to store all the media with reduncy of 2 but more then enough to store all the media that were touched in a last year or two).

Kent Overstreet

That is the idea. Unfortunately it's broken right now though - we need something added to the on disk format for extents to indicate that it was incompressible. I have a patch to add a fake compression type, but I haven't merged it in yet because I haven't decided if I want to go with that approach or not...

Re: background_compression: So this could be used, for example, in a (for lack of a better word) "tiered" compression scheme where when writing data initially, it uses a cheap algorithm like lzo for fast writes, then later when idle a background thread could re-compress with a higher-ratio but more expensive algorithm like zpaq or brotli on the backing device?


More Creators