Re: [PATCH 0/4] Change some counters to percpu type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 18, 2023 at 1:30 AM Xiao Ni <xni@xxxxxxxxxx> wrote:
>
> Hi all
>
> There are two main changes in the patch set.
>
> The first is to change ->active_io to percpu(patch02). The second
> one is adding a counter for io_acct(patch03).
>

Hi Xiao,

If I understand correctly,

> Xiao Ni (4):
>   Factor out is_md_suspended helper
>   Change active_io to percpu

Patch 1 and 2 are performance optimization?

>   Add mddev->io_acct_cnt for raid0_quiesce
>   Free writes_pending in md_stop

And patch 3 and 4 fixes two issues?

It is probably better to send them as 3 separate patches (sets).

Also, please provide more information on why we need these
changes.

Thanks,
Song

>
>  drivers/md/md.c    | 69 ++++++++++++++++++++++++++++++++++------------
>  drivers/md/md.h    | 11 +++++---
>  drivers/md/raid0.c |  6 ++++
>  3 files changed, 65 insertions(+), 21 deletions(-)
>
> --
> 2.32.0 (Apple Git-132)
>



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux