Subject: [PATCH 0/1] Initial NVME storage erase operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch introduces the erase entry point for the NVME storage.
It uses the nvme sanitize command 2 for a low level block erase
of the entire device as start and end blocks cannot be specified.

Note that in the current state, the user should first remove existing
partitions with the command 'parted rmpart' as they will stay dangling
in barebox device nodes and mount points.

Renaud Barbier (1):
  nvme: add erase operation through sanitize command

 drivers/nvme/host/core.c | 82 ++++++++++++++++++++++++++++++++++++++++
 drivers/nvme/host/pci.c  |  2 +
 include/nvme/types.h     | 38 +++++++++++++++++++
 3 files changed, 122 insertions(+)
 create mode 100644 include/nvme/types.h

-- 
2.34.1





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux