Re: [PATCH v3] libnvdimm, region: sysfs trigger for nvdimm_flush()
From: Jeff Moyer
Date: Thu Apr 27 2017 - 15:44:01 EST
Dan Williams <dan.j.williams@xxxxxxxxx> writes:
> We also still seem to need a discovery mechanism as I've had questions
> about "how do I tell if my system supports deep flush?". That's where
> sysfs is much better than an ioctl. The need for deep flush discovery
> tips the scales, at least for me, to also do deep flush triggering
> through the same interface.
Return ENXIO or EOPNOTSUPP from the ioctl when it isn't supported?
Cheers,
Jeff