Thread (20 messages) flat view 20 messages, 4 authors, 2021-05-20

Re: [PATCH 2/5] md: the latest try for improve io stats accounting

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-05-19 07:47:10

On Wed, May 19, 2021 at 09:26:21AM +0200, Artur Paszkiewicz wrote:
On 19.05.2021 03:30, Guoqing Jiang wrote:
quoted
Hmm, raid0 allocates split bio from mddev->bio_set, but raid5 is
different, it splits bio from r5conf->bio_split. So either let raid5 also
splits bio from mddev->bio_set, or add an additional checking for
raid5. Thoughts?
It looks like raid5 has a different bio set for that because it uses
mddev->bio_set for something else - allocating a bio for rdev. So I 
think it can be changed to split from mddev->bio_set and have a private
bio set for the rdev bio allocation.
Just wondering: what about moving the allocation of the clone into the
personalities entirely?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help