Re: [PATCH v2 0/3] block, bfq: minor cleanup and fix

From: Jens Axboe
Date: Fri Jan 28 2022 - 14:27:58 EST


On 1/28/22 7:45 AM, Jens Axboe wrote:
> On Fri, 31 Dec 2021 11:23:51 +0800, Yu Kuai wrote:
>> Chagnes in v2:
>> - add comment in patch 2
>> - remove patch 4, since the problem do not exist.
>>
>> Yu Kuai (3):
>> block, bfq: cleanup bfq_bfqq_to_bfqg()
>> block, bfq: avoid moving bfqq to it's parent bfqg
>> block, bfq: don't move oom_bfqq
>>
>> [...]
>
> Applied, thanks!
>
> [1/3] block, bfq: cleanup bfq_bfqq_to_bfqg()
> commit: a9c77f6ec0b566439182a10b64dd3e60a0408849
> [2/3] block, bfq: avoid moving bfqq to it's parent bfqg
> commit: 36ad7fe0ec7485ee435f7a40452c7a58598779d4
> [3/3] block, bfq: don't move oom_bfqq
> commit: a0b98e6fba18a40aa9672cc3e0abf980456f3ae6

For all those pings, this patchset sure didn't see a lot of compiles:

block/bfq-cgroup.c: In function ‘bfq_bfqq_move’:
block/bfq-cgroup.c:648:40: error: implicit declaration of function ‘bfq_group’; did you mean ‘bfqq_group’? [-Werror=implicit-function-declaration]
648 | struct bfq_group *old_parent = bfq_group(bfqq);
| ^~~~~~~~~
| bfqq_group
block/bfq-cgroup.c:648:40: error: initialization of ‘struct bfq_group *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
cc1: all warnings being treated as errors
make[1]: *** [scripts/Makefile.build:288: block/bfq-cgroup.o] Error 1
make: *** [Makefile:1831: block] Error 2

Dropped.

--
Jens Axboe