FW: [PATCH 1/2] NVMe-CLI : WDC-Plugin Updated Smart Log Commands
Jeffrey Lien
Jeff.Lien at wdc.com
Mon Nov 13 13:24:44 PST 2017
Keith,
Just wondering how to proceed on this change? I can't really drop the vs prefix since a customer is requiring it. I can remove the extra whitespace though if you prefer that.
Jeff Lien
-----Original Message-----
From: Jeffrey Lien
Sent: Wednesday, November 8, 2017 11:45 AM
To: 'Keith Busch'
Cc: linux-nvme at lists.infradead.org
Subject: RE: [PATCH 1/2] NVMe-CLI : WDC-Plugin Updated Smart Log Commands
Keith,
We had a customer request/require the vs prefix; that was the reason for adding. I agree it's redundant, but figured it was easy enough to change.
I can delete the extra whitespace easy enough; I just thought it helped make it a little more readable.
Jeff Lien
-----Original Message-----
From: Keith Busch [mailto:keith.busch at intel.com]
Sent: Wednesday, November 8, 2017 11:03 AM
To: Jeffrey Lien
Cc: linux-nvme at lists.infradead.org; Jeff Lien
Subject: Re: [PATCH 1/2] NVMe-CLI : WDC-Plugin Updated Smart Log Commands
On Wed, Nov 08, 2017 at 10:49:47AM -0600, jeffreyalien wrote:
> PLUGIN(NAME("wdc", "Western Digital vendor specific extensions"),
> COMMAND_LIST(
> - ENTRY("cap-diag", "WDC Capture-Diagnostics", wdc_cap_diag)
> - ENTRY("drive-log", "WDC Drive Log", wdc_drive_log)
> - ENTRY("get-crash-dump", "WDC Crash Dump", wdc_get_crash_dump)
> - ENTRY("id-ctrl", "WDC identify controller", wdc_id_ctrl)
> - ENTRY("purge", "WDC Purge", wdc_purge)
> - ENTRY("purge-monitor", "WDC Purge Monitor", wdc_purge_monitor)
> - ENTRY("smart-log-add", "WDC Additional Smart Log", wdc_smart_log_add)
> + ENTRY("cap-diag", " WDC Capture-Diagnostics", wdc_cap_diag)
> + ENTRY("drive-log", " WDC Drive Log", wdc_drive_log)
> + ENTRY("get-crash-dump", " WDC Crash Dump", wdc_get_crash_dump)
> + ENTRY("id-ctrl", " WDC identify controller", wdc_id_ctrl)
> + ENTRY("purge", " WDC Purge", wdc_purge)
> + ENTRY("purge-monitor", " WDC Purge Monitor", wdc_purge_monitor)
> + ENTRY("vs-smart-add-log", " WDC Additional Smart Log", wdc_smart_add_log)
> + ENTRY("vs-smart-add-log-c1", " WDC Additional Smart Log for C1 Log page", wdc_smart_add_log_c1)
> )
> );
I wasn't sure why you added so much whitespace for your descriptions until I ran it. Maybe drop the "vs-" prefix since it's already vendor-specific by virtue of being a vendor specific plugin? The alignment comes out nicer that way.
More information about the Linux-nvme
mailing list