Re: [RFC PATCH 2/2] mm: introduce budgt control in readahead

From: Christoph Hellwig
Date: Thu May 09 2024 - 08:40:20 EST


> + unsigned long budgt = inode->i_sb->s_bdev ?
> + blk_throttle_budgt(inode->i_sb->s_bdev) : 0;

The readahead code is used for all file systems, you can't just call
into block layer code here.