Re: [PATCH 3/3] btrfs: disguise single-data-RAID56 as RAID1/RAID1C3
Christoph Hellwig <[email protected]>
| Newsgroups | gmane.linux.raid,gmane.comp.file-systems.btrfs |
|---|---|
| Message-ID | <[email protected]> |
On Mon, May 25, 2026 at 08:09:54PM +0930, Qu Wenruo wrote: >> It's a lazy hack at best and fix on absolutely wrong layer. The library >> should provide the support for the edge case. But we disagree on that. > > I strongly disagree. > > Firstly on the layer to fix, let me be clear, if something writes like > RAID1, reads like RAID1, repairs like RAID1, then it's RAID1. *nod* > With that mindset, changing chunk type at read/add time is exactly the > correct layer to fix. It also is amazingly simple!