On Wed, May 15, 2024 at 12:09 PM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote: > > On Wed, May 15, 2024 at 09:23:50AM +0800, zhaoyang.huang wrote: > > + unsigned long budgt = inode->i_sb->s_bdev ? > > + blk_throttle_budgt(inode->i_sb->s_bdev) : 0; > > NAK as previously explained. ok. But this commit could work by following the configuration of blk-throttle as long as it works on btrfs with internal RAID on. Furthermore, this will help the blkcg meet the desired BPS value perfectly.