2016-11-10 11:26:43

by Matias Bjørling

[permalink] [raw]
Subject: [PATCH] LightNVM fix for 4.9-rc5

Hi Jens,

A small calculation bug sneaked into 4.9, which led to data loss using the rrpc
FTL.

Can the fix be picked up for next -rc, or should I mark it for stable after the
4.9 release?

-Matias

Matias Bjørling (1):
lightnvm: invalid offset calculation for lba_shift

drivers/nvme/host/lightnvm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
2.1.4


2016-11-10 15:04:36

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] LightNVM fix for 4.9-rc5

On 11/10/2016 04:26 AM, Matias Bjørling wrote:
> Hi Jens,
>
> A small calculation bug sneaked into 4.9, which led to data loss using the rrpc
> FTL.
>
> Can the fix be picked up for next -rc, or should I mark it for stable after the
> 4.9 release?

We can put it in this release, it's a regression fix for a bug
introduced in this cycle. I'll add it.

--
Jens Axboe

2016-11-11 09:16:28

by Matias Bjørling

[permalink] [raw]
Subject: Re: [PATCH] LightNVM fix for 4.9-rc5

On 11/10/2016 04:03 PM, Jens Axboe wrote:
> On 11/10/2016 04:26 AM, Matias Bjørling wrote:
>> Hi Jens,
>>
>> A small calculation bug sneaked into 4.9, which led to data loss using
>> the rrpc
>> FTL.
>>
>> Can the fix be picked up for next -rc, or should I mark it for stable
>> after the
>> 4.9 release?
>
> We can put it in this release, it's a regression fix for a bug
> introduced in this cycle. I'll add it.
>

Thanks Jens :)