Re: [patch v11 0/6] support concurrent sync io for bfq on a specail occasion

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

 



Hi, Jens

在 2022/09/16 15:19, Yu Kuai 写道:
From: Yu Kuai <yukuai3@xxxxxxxxxx>


Currently, bfq can't handle sync io concurrently as long as they
are not issued from root group. This is because
'bfqd->num_groups_with_pending_reqs > 0' is always true in
bfq_asymmetric_scenario().

The way that bfqg is counted into 'num_groups_with_pending_reqs':

Before this patchset:
  1) root group will never be counted.
  2) Count if bfqg or it's child bfqgs have pending requests.
  3) Don't count if bfqg and it's child bfqgs complete all the requests.

After this patchset:
  1) root group is counted.
  2) Count if bfqg has pending requests.
  3) Don't count if bfqg complete all the requests.

With the above changes, concurrent sync io can be supported if only
one group is activated.

Can you apply this patchset?

Thanks,
Kuai




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux