I think the proper minimal fix is to pass in a REQ_WRITE in addition to REQ_PREFLUSH. We can than have a discussion on the merits of this weird async pmem flush scheme separately.
- [PATCH] virtio_pmem: do flush synchronously Hou Tao
- Re: [PATCH] virtio_pmem: do flush synchronously Christoph Hellwig
- [PATCH v2] virtio_pmem: add the missing REQ_OP... Hou Tao
- Re: [PATCH v2] virtio_pmem: add the missin... Christoph Hellwig
- [PATCH v3] virtio_pmem: add the missin... Hou Tao
- Re: [PATCH v3] virtio_pmem: add t... Christoph Hellwig
- Re: [PATCH v3] virtio_pmem: add t... Chaitanya Kulkarni
- Re: [PATCH v3] virtio_pmem: a... Pankaj Gupta
- Re: [PATCH v3] virtio_pmem: add t... Pankaj Gupta
- Re: [PATCH v3] virtio_pmem: a... Pankaj Gupta
- [PATCH v4] virtio_pmem: a... Hou Tao
- Re: [PATCH v4] virtio_pme... Pankaj Gupta