Skip to content

RFC virtio-pmem: Asynchronous flush

Pankaj Gupta linux-nvdimm lkml nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pmem: make nvdimm_flush asynchronousdrivers/nvdimm/pmem.c drivers/nvdimm/region_devs.c+9 -90 replies
2/2virtio_pmem: Async virtio-pmem flushdrivers/nvdimm/nd_virtio.c drivers/nvdimm/virtio_pmem.c drivers/nvdimm/virtio_pmem.h+68 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] virtio-pmem: Asynchronous flush

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 also makes the flush asynchronous from the submitting thread POV.

Submitting this patch series for feeback and is in WIP. I have done basic testing and currently doing more testing.

Pankaj Gupta (2):
pmem: make nvdimm_flush asynchronous
virtio_pmem: Async virtio-pmem flush

 drivers/nvdimm/nd_virtio.c   | 66 ++++++++++++++++++++++++++----------
 drivers/nvdimm/pmem.c        | 15 ++++----
 drivers/nvdimm/region_devs.c |  3 +-
 drivers/nvdimm/virtio_pmem.c |  9 +++++
 drivers/nvdimm/virtio_pmem.h | 12 +++++++
 5 files changed, 78 insertions(+), 27 deletions(-)

[1] https://marc.info/?l=linux-kernel&m=157446316409937&w=2

Signature · 1 line
2.20.1