Re: [PATCH 0/3] LightNVM patches for next 4.5-rc

From: Jens Axboe
Date: Fri Feb 19 2016 - 22:40:00 EST


On 02/19/2016 12:15 PM, Jens Axboe wrote:
On Fri, Feb 19 2016, Matias Bjørling wrote:
Hi Jens,

Here is a couple of patches for the next 4.5-rc.

A patch from Alan that fixes up logic in nvm_configure_get. Another
patch from Javier that fixes a bug with multiple luns in RRPC, and at
last a patch from me that fixes the get bad block interface when
multiple planes are available on the media.

Applied, but you need to update your patch base, patch #3 needed to be
hand applied because your repo does not have the below applied.

commit ff0e498bfa185fad5e86c4c7a2db4f9648d2344f
Author: Javier González <jg@xxxxxxxxxxx>
Date: Tue Jan 12 07:49:33 2016 +0100

lightnvm: manage open and closed blocks separately

And even after that, it's broken:

drivers/lightnvm/rrpc.c: In function ‘rrpc_l2p_update’:
drivers/lightnvm/rrpc.c:1047:24: error: ‘struct rrpc’ has no member named ‘nr_sects’
div_u64_rem(pba, rrpc->nr_sects, &mod);
^
I've dropped that patch. You need to step it up, that's way too lax for something destined for the current series at -rc4 time.

--
Jens Axboe