On Fri, Jun 16, 2017 at 10:00 AM, Jeff Moyer <jmoyer(a)redhat.com> wrote:
Dave Jiang <dave.jiang(a)intel.com> writes:
> The daxctl io option allows I/Os to be performed between block/file to
> and from device dax files. It also provides a way to zero a device dax
> device.
>
> i.e. daxctl io --input=/home/myfile --output=/dev/dax1.0
Does that really belong in daxctl?
I'm open to teaching other utilities how to do mmap based i/o, but is
there any harm in carrying this dedicated utility for this purpose?
Certainly the error clearing interface to send custom nvdimm ioctls is
not something I expect 'cp' or 'dd' to comprehend.