WD Green SN350 1TB sleep-state Linux bug

Dears,

I would like to remind this long-running issue affecting many SSD drives’ power-states on Linux and the particular case of the WD Green SN350 1TB.

Symptom: Device’s apparent disconnection leading to remout-ro (and possible filesystem corruptions)

nvme 0000:04:00.0: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0x10

Affected devices: SN350 at its latest (and unique) firmware version: 33006000

Reason: nvme switch to p4 power-state (in a non-standard/buggy/… way)

Culprit: WD for not providing an updated firmware ensuring compatible sleeping-mode.

Workaround: Disable the p4 power-state.

HowTo: nvme_core.default_ps_max_latency_us=11500

Device power-state details:

$ nvme id-ctrl /dev/nvme0
vid       : 0x15b7
ssvid     : 0x15b7
sn        : 22292H......       
mn        : WD Green SN350 1TB                      
fr        : 33006000
[...]
ps    0 : mp:5.00W operational enlat:0 exlat:0 rrt:0 rrl:0
          rwt:0 rwl:0 idle_power:0.6300W active_power:5.00W
ps    1 : mp:2.40W operational enlat:0 exlat:0 rrt:0 rrl:0
          rwt:0 rwl:0 idle_power:0.6300W active_power:2.40W
ps    2 : mp:1.90W operational enlat:0 exlat:0 rrt:0 rrl:0
          rwt:0 rwl:0 idle_power:0.6300W active_power:1.90W
ps    3 : mp:0.0250W non-operational enlat:3900 exlat:11000 rrt:3 rrl:3
          rwt:3 rwl:3 idle_power:0.0250W active_power:-
ps    4 : mp:0.0050W non-operational enlat:5000 exlat:39000 rrt:4 rrl:4
          rwt:4 rwl:4 idle_power:0.0050W active_power:-

What is desirable: A firmware update from WD to fix this problem.

Greetings,

We have reached out to you via direct message, so we request you kindly check and reply to your DMs so that we can assist you further.