From: "Javier González" <jg@lightnvm.io>
To: mb@lightnvm.io, axboe@fb.com
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
"Javier González" <javier@javigon.com>
Subject: [PATCH] lightnvm: pblk fix for 4.13
Date: Thu, 27 Jul 2017 16:49:49 +0200 [thread overview]
Message-ID: <1501166990-24366-1-git-send-email-javier@javigon.com> (raw)
Hi Jens,
Can you pick up this fix for 4.13? It is a fix to a read corruption in
pblk that has been there form the beginning. It is due to a bad bio
manipulation in the case that an I/O containing lbas that are invalid,
point to data in the host cache and point to data on the device, all
three in a single bio.
The patch applies on top of you for-4.13/block and is available too at:
- https://github.com/OpenChannelSSD/linux/tree/pblk.for-4.13
I marked the patch to fix the original pblk commit, but it does not
apply anymore on the original 4.12 code. How do we handle these
situations? We make a backport when Greg makes 4.12 stable?
Thanks,
Javier
Javier González (1):
lightnvm: pblk: advance bio according to lba index
drivers/lightnvm/pblk-rb.c | 4 ++--
drivers/lightnvm/pblk-read.c | 19 ++++++++++++++-----
drivers/lightnvm/pblk.h | 2 +-
3 files changed, 17 insertions(+), 8 deletions(-)
--
2.7.4
next reply other threads:[~2017-07-27 14:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 14:49 Javier González [this message]
2017-07-27 14:49 ` [PATCH] lightnvm: pblk: advance bio according to lba index Javier González
2017-07-27 16:31 ` Jens Axboe
2017-07-27 16:33 ` Javier González
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1501166990-24366-1-git-send-email-javier@javigon.com \
--to=jg@lightnvm.io \
--cc=axboe@fb.com \
--cc=javier@javigon.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mb@lightnvm.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).