[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <5D5705F7-C0D7-4303-82A2-965320560220@javigon.com>
Date: Wed, 10 Apr 2019 14:22:36 +0200
From: Javier González <javier@...igon.com>
To: Hans Holmberg <hans@...tronix.com>
Cc: Matias Bjørling <mb@...htnvm.io>,
"Konopko, Igor J" <igor.j.konopko@...el.com>,
Klaus Birkelund Jensen <klaus.jensen@...xlabs.com>,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Hans Holmberg <hans.holmberg@...xlabs.com>
Subject: Re: [PATCH] lightnvm: pblk: fix crash in pblk_end_partial_read due to
multipage bvecs
> On 8 Apr 2019, at 09.33, hans@...tronix.com wrote:
>
> From: Hans Holmberg <hans.holmberg@...xlabs.com>
>
> Ever since '07173c3ec276 ("block: enable multipage bvecs")' we
> need to handle bios with multipage bvecs in pblk.
>
> Currently, a multipage bvec results in a crash[1].
> Fix this by using bvec iterators in stead of direct bvec indexing.
>
> Also add a dcache flush, for the same reasons as in:
> '6e6e811d747b ("block: Add missing flush_dcache_page() call")'
>
> [1] https://github.com/OpenChannelSSD/linux/issues/61
>
> Reported-by: Klaus Jensen <klaus.jensen@...xlabs.com>
> Signed-off-by: Hans Holmberg <hans.holmberg@...xlabs.com>
> ---
>
> It ain't pretty, but let's fix the breakage while waiting for Igor's
> partial read cleanup to be ready.
>
I would prefer to have the real fix, but it is good to have this fixed for
5.2. Can we agree on a revert if Igor sends the patch within the 5.2
window?
Javier
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists