[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <565F624C.9090301@kernel.dk>
Date: Wed, 2 Dec 2015 14:27:40 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Keith Busch <keith.busch@...el.com>
Cc: Christoph Hellwig <hch@....de>, Mark Brown <broonie@...nel.org>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org
Subject: Re: linux-next: build failure after merge of the block tree
On 12/02/2015 02:14 PM, Keith Busch wrote:
> On Wed, Dec 02, 2015 at 02:07:34PM -0700, Jens Axboe wrote:
>> Christoph, for-4.5/nvme also fails if integrity isn't enabled:
>
> I forgot about this since I've merged this in my repo to fix:
>
> https://lkml.org/lkml/2015/10/26/546
>
> That ok, or should we handle this differently?
I think that should make it compile, but the behavior will be a bit odd.
If you pass in meta and integrity isn't enabled, you'll get an ENOMEM
error. That seems a bit nonsensical.
We could make bio_integrity_alloc() return an error pointer. That way we
could retain the ifdefs in the bip code, and not let it spread to drivers.
--
Jens Axboe
View attachment "int-err.patch" of type "text/x-patch" (3003 bytes)
Powered by blists - more mailing lists