| To: | Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>, David Chinner <david@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: linux-next: build failure after merge of the block tree |
| From: | Jens Axboe <axboe@xxxxxxxxx> |
| Date: | Wed, 30 Nov 2016 20:00:36 -0700 |
| Cc: | linux-next@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Christoph Hellwig <hch@xxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=YmCpBtWJCjat/qhdd1I8Ba/MVjBT9ajSNWY8LZN2oXI=; b=nK4Fz1BxGj2B3pr1x/u/fBJqnx710uf6yZTeDvKnlmT/9TTDgTTNDDdPoDEUXPQ7cd PtDD79AiQnnpcFb55TGFLP0XO2ZsARweL2UxVSaEM6rImlPgd8nBv6esKgF9pnAmWJ8R g+U/RUGRGnGkc0iGYdD5WImHncX6KhyUDpc9PfjlalRbtkkl4t0dK1Cpn2emwJ2CI6D8 /Cjqa4/I4iZ48RuoaR+yk/+a1X0C/I8XXxC7KKLKhBtA/Tcu/9i/gZwZlaYvBVYz64H9 PHm1dFY/gbGv3prQ9dj/o2QgmrcWIBXQGwITQrGve3IwgVab2pOc1XPwmAMC6QrLCj7x nqRw== |
| In-reply-to: | <20161201135517.273c9a4d@xxxxxxxxxxxxxxxx> |
| References: | <20161201135517.273c9a4d@xxxxxxxxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | linux-next: build failure after merge of the block tree, Stephen Rothwell |
|---|---|
| Next by Date: | Re: linux-next: build failure after merge of the block tree, Stephen Rothwell |
| Previous by Thread: | linux-next: build failure after merge of the block tree, Stephen Rothwell |
| Next by Thread: | Re: linux-next: build failure after merge of the block tree, Stephen Rothwell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |