[RFC v2 1/3] nvme: move fault injector to nvme-debugfs.c

Christoph Hellwig hch at lst.de
Mon Mar 27 17:56:17 PDT 2023


On Thu, Mar 23, 2023 at 04:03:14PM -0700, Alan Adamson wrote:
> Move the nvme fault injector code associated with debugfs into
> nvme-debugfs.c (new file) so all nvme debugfs associated can
> reside in a common place.
> 
> CONFIG_NVME_FAULT_INJECTION_DEBUG_FS needs to be enabled to
> be able to use fault injection.

It feels a bit pointless to me to have a separate file for what
even with the next patch is way under 100 lines of code.

Keith, Sagi, any opinion?



More information about the Linux-nvme mailing list