On Mon, 24 Jun 2024 19:01:17 +0200, Jan Kara wrote:
There's no reason to have jbd2_journal_get_max_txn_bufs() public function. Currently all users are internal and can use journal->j_max_transaction_buffers instead. This saves some unnecessary recomputations of the limit as a bonus which becomes important as this function gets more complex in the following patch.
[...]
Applied, thanks!
[1/4] jbd2: Make jbd2_journal_get_max_txn_bufs() internal commit: 4aa99c71e42ad60178c1154ec24e3df9c684fb67 [2/4] jbd2: Precompute number of transaction descriptor blocks commit: e3a00a23781c1f2fcda98a7aecaac515558e7a35 [3/4] jbd2: Avoid infinite transaction commit loop commit: 27ba5b67312a944576addc4df44ac3b709aabede [4/4] jbd2: Drop pointless shrinker batch initialization commit: 1cf5b024a3ffa479ed14e520f81549fce037f322
Best regards,