NVMe driver should handle Firmware Reset status code
While testing with a Micron NVMe card I started getting errors from nvmeadm when changing the LBA format even though the format got changed successfully. Turned out that the Micron card is returning a Firmware Reset status code for this operation.
The attached patch handles that code and ignores it and it is functioning okay. Details of the Micron card:
- nvmeadm list
nvme1: model: MTFDHAX2T4MCF-1AN1ZABYY, serial: P60727043123, FW rev: 0091634, NVMe v1.1
nvme1/cfe000030e791300 (c1tCFE000030E791300d0): Size = 2289272 MB, Capacity = 2289272 MB, Used = 2289272 MB