From: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
To: nvdimm@lists.linux.dev,
virtualization@lists.linux-foundation.org,
linux-kernel@vger.kernel.org
Cc: dan.j.williams@intel.com, jmoyer@redhat.com, stefanha@redhat.com,
david@redhat.com, mst@redhat.com, cohuck@redhat.com,
vishal.l.verma@intel.com, dave.jiang@intel.com,
ira.weiny@intel.com, pankaj.gupta@ionos.com,
Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Subject: [RFC v3 0/2] virtio-pmem: Asynchronous flush
Date: Tue, 11 Jan 2022 17:19:35 +0100 [thread overview]
Message-ID: <20220111161937.56272-1-pankaj.gupta.linux@gmail.com> (raw)
Jeff reported preflush order issue with the existing implementation
of virtio pmem preflush. Dan suggested[1] to implement asynchronous flush
for virtio pmem using work queue as done in md/RAID. This patch series
intends to solve the preflush ordering issue and makes the flush asynchronous
for the submitting thread. Also, adds the flush coalscing logic.
Submitting this RFC v3 series for review. Thank You!
RFC v2 -> RFC v3
- Improve commit log message - patch1.
- Improve return error handling for Async flush.
- declare'INIT_WORK' only once.
- More testing and bug fix.
[1] https://marc.info/?l=linux-kernel&m=157446316409937&w=2
Pankaj Gupta (2):
virtio-pmem: Async virtio-pmem flush
pmem: enable pmem_submit_bio for asynchronous flush
drivers/nvdimm/nd_virtio.c | 74 +++++++++++++++++++++++++++---------
drivers/nvdimm/pmem.c | 15 ++++++--
drivers/nvdimm/region_devs.c | 4 +-
drivers/nvdimm/virtio_pmem.c | 10 +++++
drivers/nvdimm/virtio_pmem.h | 16 ++++++++
5 files changed, 98 insertions(+), 21 deletions(-)
--
2.25.1
next reply other threads:[~2022-01-11 16:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-11 16:19 Pankaj Gupta [this message]
2022-01-11 16:19 ` [RFC v3 1/2] virtio-pmem: Async virtio-pmem flush Pankaj Gupta
2022-02-16 3:21 ` Dan Williams
2022-02-16 3:21 ` Dan Williams
2022-02-16 8:47 ` Pankaj Gupta
2022-02-16 16:23 ` Dan Williams
2022-02-16 16:23 ` Dan Williams
2022-02-16 17:04 ` Pankaj Gupta
2022-01-11 16:19 ` [RFC v3 2/2] pmem: enable pmem_submit_bio for asynchronous flush Pankaj Gupta
2022-02-16 3:34 ` Dan Williams
2022-02-16 3:34 ` Dan Williams
2022-02-16 8:39 ` Pankaj Gupta
2022-02-16 16:25 ` Dan Williams
2022-02-16 16:25 ` Dan Williams
2022-02-16 17:01 ` Pankaj Gupta
2022-01-28 10:11 ` [RFC v3 0/2] virtio-pmem: Asynchronous flush Pankaj Gupta
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=20220111161937.56272-1-pankaj.gupta.linux@gmail.com \
--to=pankaj.gupta.linux@gmail.com \
--cc=cohuck@redhat.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=david@redhat.com \
--cc=ira.weiny@intel.com \
--cc=jmoyer@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=nvdimm@lists.linux.dev \
--cc=pankaj.gupta@ionos.com \
--cc=stefanha@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
--cc=vishal.l.verma@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.