On 5/7/2019 10:58 AM, Akinobu Mita wrote:
This enables to capture snapshot of controller information via device coredump machanism.
s/machanism/mechanism/
The nvme device coredump creates the following coredump files. - regs: NVMe controller registers (00h to 4Fh) - sq<qid>: Submission queue - cq<qid>: Completion queue - telemetry-ctrl-log: Telemetry controller-initiated log (if available) - data: Empty The reason for an empty 'data' file is to provide a uniform way to notify the device coredump is no longer needed by writing the 'data' file. Since all existing drivers using the device coredump provide a 'data' file if the nvme device coredump doesn't provide it, the userspace programs need to know which driver provides what coredump file. Cc: Johannes Berg <johan...@sipsolutions.net> Cc: Keith Busch <keith.bu...@intel.com> Cc: Jens Axboe <ax...@fb.com> Cc: Christoph Hellwig <h...@lst.de> Cc: Sagi Grimberg <s...@grimberg.me> Cc: Minwoo Im <minwoo.im....@gmail.com> Signed-off-by: Akinobu Mita <akinobu.m...@gmail.com>