Re: [dm-devel] Proper way to test RAID456?

2022-01-12 Thread Qu Wenruo
On 2022/1/13 00:56, Lukas Straub wrote: On Sun, 9 Jan 2022 20:13:36 +0800 Qu Wenruo wrote: On 2022/1/9 18:04, David Woodhouse wrote: On Sun, 2022-01-09 at 07:55 +0800, Qu Wenruo wrote: On 2022/1/9 04:29, Lukas Straub wrote: But there is a even simpler solution for btrfs: It could just

Re: [dm-devel] Proper way to test RAID456?

2022-01-12 Thread Lukas Straub
On Sun, 9 Jan 2022 20:13:36 +0800 Qu Wenruo wrote: > On 2022/1/9 18:04, David Woodhouse wrote: > > On Sun, 2022-01-09 at 07:55 +0800, Qu Wenruo wrote: > >> On 2022/1/9 04:29, Lukas Straub wrote: > >>> But there is a even simpler solution for btrfs: It could just not touch > >>> stripes that

Re: [dm-devel] Proper way to test RAID456?

2022-01-09 Thread Qu Wenruo
On 2022/1/9 18:04, David Woodhouse wrote: On Sun, 2022-01-09 at 07:55 +0800, Qu Wenruo wrote: On 2022/1/9 04:29, Lukas Straub wrote: But there is a even simpler solution for btrfs: It could just not touch stripes that already contain data. That would waste a lot of space, if the fs is

Re: [dm-devel] Proper way to test RAID456?

2022-01-09 Thread David Woodhouse
On Sun, 2022-01-09 at 07:55 +0800, Qu Wenruo wrote: > On 2022/1/9 04:29, Lukas Straub wrote: > > But there is a even simpler solution for btrfs: It could just not touch > > stripes that already contain data. > > That would waste a lot of space, if the fs is fragemented. > > Or we have to write

Re: [dm-devel] Proper way to test RAID456?

2022-01-08 Thread Qu Wenruo
On 2022/1/9 04:29, Lukas Straub wrote: On Sat, 8 Jan 2022 19:52:59 + Lukas Straub wrote: CC'ing linux-raid mailing list, where md raid development happens. dm-raid is just a different interface to md raid. On Fri, 7 Jan 2022 10:30:56 +0800 Qu Wenruo wrote: Hi, Recently I'm working

Re: [dm-devel] Proper way to test RAID456?

2022-01-08 Thread Lukas Straub
On Sat, 8 Jan 2022 19:52:59 + Lukas Straub wrote: > CC'ing linux-raid mailing list, where md raid development happens. > dm-raid is just a different interface to md raid. > > On Fri, 7 Jan 2022 10:30:56 +0800 > Qu Wenruo wrote: > > > Hi, > > > > Recently I'm working on refactor btrfs

Re: [dm-devel] Proper way to test RAID456?

2022-01-08 Thread Lukas Straub
CC'ing linux-raid mailing list, where md raid development happens. dm-raid is just a different interface to md raid. On Fri, 7 Jan 2022 10:30:56 +0800 Qu Wenruo wrote: > Hi, > > Recently I'm working on refactor btrfs raid56 (with long term objective > to add proper journal to solve write-hole),