From: Igor Konopko <igor.j.konopko@intel.com>
To: Hans Holmberg <hans@owltronix.com>
Cc: "Matias Bjorling" <mb@lightnvm.io>,
"Javier González" <javier@javigon.com>,
"Hans Holmberg" <hans.holmberg@cnexlabs.com>,
linux-block@vger.kernel.org
Subject: Re: [PATCH v3 00/10] lightnvm: next set of improvements for 5.2
Date: Fri, 5 Apr 2019 08:31:18 +0200 [thread overview]
Message-ID: <302dd514-2b52-6669-0764-5b91c22704df@intel.com> (raw)
In-Reply-To: <CANr-nt0d7DJ_-gYPKiJXBAUopSTATXVM7X5_=BeqDH-dZq-A8Q@mail.gmail.com>
On 03.04.2019 09:12, Hans Holmberg wrote:
> On Wed, Mar 27, 2019 at 1:41 PM Igor Konopko <igor.j.konopko@intel.com> wrote:
>>
>> This is another set of fixes and improvements to both pblk and lightnvm
>> core.
>>
>> First & second patches are the most crutial, since they changes the approach
>> to the partial read path, so detailed review is needed especially here.
>>
>> Other patches are my other findings related to some bugs or potential
>> improvements, mostly related to some corner cases.
>>
>> Changes v2 -> v3;
>> -dropped some not needed patches
>> -dropped patches which were already pulled into for-5.2/core branch
>> -commit messages cleanup
>>
>> Changes v1 -> v2:
>> -dropped some not needed patches
>> -review feedback incorporated for some of the patches
>> -partial read path changes patch splitted into two patches
>>
>
> Hi Igor,
>
> I ran the quick xfstests and generic/247 hangs with this patchset on qemu:
>
> FSTYP -- xfs (non-debug)
> PLATFORM -- Linux/x86_64 u1804-qatd 5.0.0-rc6_for-5.2/core_igor_v3
>
> generic/247 95s ...
> <hang>
>
> Note: If i run it with Matias 5.2 core branch with my biovec fix, it
> completes successfully, but with this in dmesg:
>
> [ 358.028158] Page cache invalidation failure on direct I/O.
> Possible data corruption due to collision with buffered I/O!
> [ 358.030768] File: /mnt/247 PID: 4431 Comm: dd
>
> (I have not looked into that any further)
>
Thanks Hans for testing that and reporting back. Will definitely look
into that and resubmit when fixed.
Igor
> Best regards,
> Hans
>
>
>> Igor Konopko (10):
>> lightnvm: pblk: IO path reorganization
>> lightnvm: pblk: simplify partial read path
>> lightnvm: pblk: propagate errors when reading meta
>> lightnvm: pblk: recover only written metadata
>> lightnvm: pblk: wait for inflight IOs in recovery
>> lightnvm: pblk: remove internal IO timeout
>> lightnvm: pblk: store multiple copies of smeta
>> lightnvm: pblk: GC error handling
>> lightnvm: pblk: use nvm_rq_to_ppa_list()
>> lightnvm: track inflight target creations
>>
>> drivers/lightnvm/core.c | 19 ++-
>> drivers/lightnvm/pblk-cache.c | 8 +-
>> drivers/lightnvm/pblk-core.c | 179 +++++++++++++++++----
>> drivers/lightnvm/pblk-gc.c | 5 +-
>> drivers/lightnvm/pblk-init.c | 37 +++--
>> drivers/lightnvm/pblk-read.c | 336 +++++++++++----------------------------
>> drivers/lightnvm/pblk-recovery.c | 69 ++++----
>> drivers/lightnvm/pblk-rl.c | 3 +-
>> drivers/lightnvm/pblk.h | 31 ++--
>> include/linux/lightnvm.h | 2 +
>> 10 files changed, 343 insertions(+), 346 deletions(-)
>>
>> --
>> 2.9.5
>>
next prev parent reply other threads:[~2019-04-05 6:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-27 12:38 [PATCH v3 00/10] lightnvm: next set of improvements for 5.2 Igor Konopko
2019-03-27 12:38 ` [PATCH v3 01/10] lightnvm: pblk: IO path reorganization Igor Konopko
2019-03-27 12:38 ` [PATCH v3 02/10] lightnvm: pblk: simplify partial read path Igor Konopko
2019-03-29 9:12 ` Hans Holmberg
2019-03-30 5:02 ` Heiner Litz
2019-04-01 15:29 ` Igor Konopko
2019-03-27 12:38 ` [PATCH v3 03/10] lightnvm: pblk: propagate errors when reading meta Igor Konopko
2019-03-27 20:25 ` Matias Bjørling
2019-03-27 12:38 ` [PATCH v3 04/10] lightnvm: pblk: recover only written metadata Igor Konopko
2019-03-27 12:38 ` [PATCH v3 05/10] lightnvm: pblk: wait for inflight IOs in recovery Igor Konopko
2019-03-27 12:38 ` [PATCH v3 06/10] lightnvm: pblk: remove internal IO timeout Igor Konopko
2019-03-27 12:38 ` [PATCH v3 07/10] lightnvm: pblk: store multiple copies of smeta Igor Konopko
2019-03-27 12:38 ` [PATCH v3 08/10] lightnvm: pblk: GC error handling Igor Konopko
2019-03-27 12:39 ` [PATCH v3 09/10] lightnvm: pblk: use nvm_rq_to_ppa_list() Igor Konopko
2019-03-27 12:39 ` [PATCH v3 10/10] lightnvm: track inflight target creations Igor Konopko
2019-04-05 13:48 ` Matias Bjørling
2019-04-03 7:12 ` [PATCH v3 00/10] lightnvm: next set of improvements for 5.2 Hans Holmberg
2019-04-05 6:31 ` Igor Konopko [this message]
2019-04-05 13:40 ` Matias Bjørling
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=302dd514-2b52-6669-0764-5b91c22704df@intel.com \
--to=igor.j.konopko@intel.com \
--cc=hans.holmberg@cnexlabs.com \
--cc=hans@owltronix.com \
--cc=javier@javigon.com \
--cc=linux-block@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