[PATCH v2] nvmet: add support reading with offset from ANA log

Daniel Wagner dwagner at suse.de
Mon Jan 17 07:12:27 PST 2022


On Mon, Jan 10, 2022 at 03:05:39PM +0100, Daniel Wagner wrote:
> Add support to read with offsets from ANA log buffer.
> 
> The controller claims to support extended data for the Get Log Page
> command (including extended Number of Dwords and Log Page Offset 2
> fields):
> 
> lpa     : 0x7
>   [2:2] : 0x1   Extended data for Get Log Page Supported
>   [1:1] : 0x1   Command Effects Log Page Supported
>   [0:0] : 0x1   SMART/Health Log Page per NS Supported
> 
> Signed-off-by: Daniel Wagner <dwagner at suse.de>
> ---
> v2:
>  - fixed lenght calculation and limit response lenght
>  - some more testing with KASAN enabled
> v1:
>  - https://lore.kernel.org/linux-nvme/20211229155302.16789-1-dwagner@suse.de/

Please wait with this patch. I think there is something wrong with my
calculation. I want to test some more just didn't have time for it yet.



More information about the Linux-nvme mailing list