[PATCH 6.6 096/213] virtio_pmem: Check device status before requesting flush