lkml.org 
[lkml]   [2016]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-next: build failure after merge of the block tree
From
Date
On 11/30/2016 07:55 PM, Stephen Rothwell wrote:
> Hi Jens,
>
> After merging the block tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> fs/iomap.c: In function 'iomap_dio_zero':
> fs/iomap.c:725:38: error: 'WRITE_ODIRECT' undeclared (first use in this function)
> bio_set_op_attrs(bio, REQ_OP_WRITE, WRITE_ODIRECT);
> ^
> fs/iomap.c:725:38: note: each undeclared identifier is reported only once for each function it appears in
> fs/iomap.c: In function 'iomap_dio_actor':
> fs/iomap.c:808:40: error: 'WRITE_ODIRECT' undeclared (first use in this function)
> bio_set_op_attrs(bio, REQ_OP_WRITE, WRITE_ODIRECT);
> ^
> fs/iomap.c: In function 'iomap_dio_rw':
> fs/iomap.c:933:9: error: implicit declaration of function 'blk_poll' [-Werror=implicit-function-declaration]
> !blk_poll(dio->submit.last_queue,
> ^
>
> Caused by commits
>
> 70fd76140a6c ("block,fs: use REQ_* flags directly")
> bbd7bb7017d5 ("block: move poll code to blk-mq")
>
> interacting with commit
>
> ff6a9292e6f6 ("iomap: implement direct I/O")
>
> from the xfs tree.
>
> I love APIs changing :-(

It's a necessary evil...

This could have been avoided with the XFS tree pulling in the block
changes, but that obviously has other implications. Something to watch
for when the XFS tree is sent in for the merge window, however.

> I have applied the following merge fix patch for today.

The fix is correct.

--
Jens Axboe

\
 
 \ /
  Last update: 2016-12-01 04:01    [W:0.044 / U:0.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site