Return from "pmem_submit_bio" when asynchronous flush is
still in progress in other context.
Signed-off-by: Pankaj Gupta
---
drivers/nvdimm/pmem.c| 15 ---
drivers/nvdimm/region_devs.c | 4 +++-
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git
Enable asynchronous flush for virtio pmem using work queue. Also,
coalesce the flush requests when a flush is already in process.
This functionality is copied from md/RAID code.
When a flush is already in process, new flush requests wait till
previous flush completes in another context (work
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
3 matches
Mail list logo