[PATCH 16/20] lightnvm: implement get log report chunk helpers

2018-02-21 Thread Javier González
From: Javier González The 2.0 spec provides a report chunk log page that can be retrieved using the stangard nvme get log page. This replaces the dedicated get/put bad block table in 1.2. This patch implements the helper functions to allow targets retrieve the chunk metadata

[PATCH 16/20] lightnvm: implement get log report chunk helpers

2018-02-21 Thread Javier González
From: Javier González The 2.0 spec provides a report chunk log page that can be retrieved using the stangard nvme get log page. This replaces the dedicated get/put bad block table in 1.2. This patch implements the helper functions to allow targets retrieve the chunk metadata using get log page