Re: [PATCH] tests/throtl: add a new test 006

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

 



Hi,

在 2025/02/25 10:07, Yu Kuai 写道:
Hi,

在 2025/02/24 21:54, Ming Lei 写道:
Do you run this test without the kernel patch? If I remembered
correctly, ext4 issue the meta IO from jbd2 by default, which is from
root cgroup, and root cgroup can only throttled from cgroup v1.
It passes on v6.14-rc1, does META/SWAP IO only route from cgroup v1?

Of course not, it's just ext4 will issue such IO from root cgroup, and
there is no IO can be throttled here.

You might want to bind jbd2 to the test cgroup as well.

I think the test will be OK this way.

Thanks,
Kuai


Thanks,
Kuai


   static inline bool bio_issue_as_root_blkg(struct bio *bio)
   {
           return (bio->bi_opf & (REQ_META | REQ_SWAP)) != 0;
   }

Thanks,
Ming

.






[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