tree: https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git current-work head: 055b23681aedfe6c6a9da010a57b3d6d9167f882 commit: 055b23681aedfe6c6a9da010a57b3d6d9167f882 [2/2] current-work config: m68k-allyesconfig (attached as .config) compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 055b23681aedfe6c6a9da010a57b3d6d9167f882 # save the attached .config to linux build tree make.cross ARCH=m68k
All errors (new ones prefixed by >>):
In file included from block/blk-wbt.c:27:0:
block/blk-wbt.h:113:8: error: redefinition of 'struct rq_qos'
struct rq_qos {
^~~~~~
block/blk-wbt.h:88:8: note: originally defined here
struct rq_qos {
^~~~~~
block/blk-wbt.c: In function '__wbt_done':
block/blk-wbt.c:123:9: error: 'struct rq_wb' has no member named 'wc'
if (rwb->wc && !wb_recent_wait(rwb))
^~
block/blk-wbt.c: In function 'wbt_done':
block/blk-wbt.c:158:26: error: 'struct rq_wb' has no member named 'last_comp'
wb_timestamp(rwb, &rwb->last_comp);
^~
block/blk-wbt.c: In function 'calc_max_depth':
block/blk-wbt.c:181:6: error: 'rwb' undeclared (first use in this function);
did you mean 'rmb'?
if (rwb->queue_depth == 1) {
^~~
rmb
block/blk-wbt.c:181:6: note: each undeclared identifier is reported only
once for each function it appears in
block/blk-wbt.c: In function 'rwb_trace_step':
block/blk-wbt.c:308:32: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
trace_wbt_step(bdi, msg, rwb->scale_step, rwb->cur_win_nsec,
^~~~~~~~~~
enable_state
block/blk-wbt.c:308:47: error: 'struct rq_wb' has no member named
'cur_win_nsec'
trace_wbt_step(bdi, msg, rwb->scale_step, rwb->cur_win_nsec,
^~
block/blk-wbt.c:309:45: error: 'struct rq_wb' has no member named 'wb_max';
did you mean 'wb_normal'?
rwb->wb_background, rwb->wb_normal, rwb->wb_max);
^~~~~~
wb_normal
block/blk-wbt.c: In function 'scale_up':
>> block/blk-wbt.c:323:20: error: implicit declaration of function
>> 'calc_wb_limits' [-Werror=implicit-function-declaration]
rqd->scaled_max = calc_wb_limits(rwb);
^~~~~~~~~~~~~~
block/blk-wbt.c:323:35: error: 'rwb' undeclared (first use in this
function); did you mean 'rmb'?
rqd->scaled_max = calc_wb_limits(rwb);
^~~
rmb
block/blk-wbt.c: In function 'scale_down':
block/blk-wbt.c:352:2: error: implicit declaration of function
'rqd_trace_step'; did you mean 'rwb_trace_step'?
[-Werror=implicit-function-declaration]
rqd_trace_step(rqd, "step down");
^~~~~~~~~~~~~~
rwb_trace_step
block/blk-wbt.c: In function 'rwb_arm_timer':
block/blk-wbt.c:357:11: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
if (rwb->scale_step > 0) {
^~~~~~~~~~
enable_state
block/blk-wbt.c:364:6: error: 'struct rq_wb' has no member named
'cur_win_nsec'
rwb->cur_win_nsec = div_u64(rwb->win_nsec << 4,
^~
block/blk-wbt.c:364:34: error: 'struct rq_wb' has no member named 'win_nsec'
rwb->cur_win_nsec = div_u64(rwb->win_nsec << 4,
^~
block/blk-wbt.c:365:21: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
int_sqrt((rwb->scale_step + 1) << 8));
^~~~~~~~~~
enable_state
block/blk-wbt.c:371:6: error: 'struct rq_wb' has no member named
'cur_win_nsec'
rwb->cur_win_nsec = rwb->win_nsec;
^~
block/blk-wbt.c:371:26: error: 'struct rq_wb' has no member named 'win_nsec'
rwb->cur_win_nsec = rwb->win_nsec;
^~
block/blk-wbt.c:374:29: error: 'struct rq_wb' has no member named 'cb'
blk_stat_activate_nsecs(rwb->cb, rwb->cur_win_nsec);
^~
block/blk-wbt.c:374:38: error: 'struct rq_wb' has no member named
'cur_win_nsec'
blk_stat_activate_nsecs(rwb->cb, rwb->cur_win_nsec);
^~
block/blk-wbt.c: In function 'wb_timer_fn':
block/blk-wbt.c:386:61: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
trace_wbt_timer(rwb->queue->backing_dev_info, status, rwb->scale_step,
^~~~~~~~~~
enable_state
block/blk-wbt.c:396:14: error: passing argument 1 of 'scale_down' from
incompatible pointer type [-Werror=incompatible-pointer-types]
scale_down(rwb, true);
^~~
block/blk-wbt.c:334:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_down(struct rq_depth *rqd, bool hard_throttle)
^~~~~~~~~~
block/blk-wbt.c:399:12: error: passing argument 1 of 'scale_up' from
incompatible pointer type [-Werror=incompatible-pointer-types]
scale_up(rwb);
^~~
block/blk-wbt.c:312:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_up(struct rq_depth *rqd)
^~~~~~~~
block/blk-wbt.c:408:12: error: passing argument 1 of 'scale_up' from
incompatible pointer type [-Werror=incompatible-pointer-types]
scale_up(rwb);
^~~
block/blk-wbt.c:312:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_up(struct rq_depth *rqd)
^~~~~~~~
block/blk-wbt.c:412:12: error: 'struct rq_wb' has no member named
'unknown_cnt'
if (++rwb->unknown_cnt < RWB_UNKNOWN_BUMP)
^~
block/blk-wbt.c:419:12: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
if (rwb->scale_step > 0) {
^~~~~~~~~~
enable_state
block/blk-wbt.c:421:13: error: passing argument 1 of 'scale_up' from
incompatible pointer type [-Werror=incompatible-pointer-types]
scale_up(rwb);
^~~
block/blk-wbt.c:312:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_up(struct rq_depth *rqd)
^~~~~~~~
block/blk-wbt.c:422:19: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
} else if (rwb->scale_step < 0)
^~~~~~~~~~
enable_state
block/blk-wbt.c:423:15: error: passing argument 1 of 'scale_down' from
incompatible pointer type [-Werror=incompatible-pointer-types]
scale_down(rwb, false);
^~~
block/blk-wbt.c:334:13: note: expected 'struct rq_depth *' but argument is
of type 'struct rq_wb *'
static void scale_down(struct rq_depth *rqd, bool hard_throttle)
^~~~~~~~~~
block/blk-wbt.c:445:11: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
if (rwb->scale_step || inflight)
^~~~~~~~~~
enable_state
block/blk-wbt.c: In function 'wbt_update_limits':
block/blk-wbt.c:451:7: error: 'struct rq_wb' has no member named
'scale_step'; did you mean 'enable_state'?
rwb->scale_step = 0;
^~~~~~~~~~
enable_state
block/blk-wbt.c:452:5: error: 'struct rq_wb' has no member named 'scaled_max'
rwb->scaled_max = false;
^~
In file included from include/linux/kernel.h:13:0,
from block/blk-wbt.c:21:
block/blk-wbt.c: In function 'close_io':
block/blk-wbt.c:462:31: error: 'struct rq_wb' has no member named
'last_issue'; did you mean 'sync_issue'?
vim +/calc_wb_limits +323 block/blk-wbt.c
303
304 static void rwb_trace_step(struct rq_wb *rwb, const char *msg)
305 {
306 struct backing_dev_info *bdi = rwb->queue->backing_dev_info;
307
> 308 trace_wbt_step(bdi, msg, rwb->scale_step, rwb->cur_win_nsec,
309 rwb->wb_background, rwb->wb_normal,
rwb->wb_max);
310 }
311
312 static void scale_up(struct rq_depth *rqd)
313 {
314 /*
315 * Hit max in previous round, stop here
316 */
317 if (rqd->scaled_max)
318 return;
319
320 rqd->scale_step--;
321 rqd->unknown_cnt = 0;
322
> 323 rqd->scaled_max = calc_wb_limits(rwb);
324
325 rwb_wake_all(rwb);
326
327 rwb_trace_step(rwb, "step up");
328 }
329
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
