[PATCH v17 2/2] nvmet: support reservation feature

Keith Busch kbusch at kernel.org
Mon Oct 21 15:33:42 PDT 2024


On Mon, Oct 21, 2024 at 07:03:31PM +0800, Guixin Liu wrote:
> new file mode 100644
> index 000000000000..aa69656a0ac5
> --- /dev/null
> +++ b/drivers/nvme/target/pr.c
> @@ -0,0 +1,1186 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * NVMe over Fabrics Persist Reservation.
> + * Copyright (c) 2024 Guixin Liu, Alibaba Group.
> + * All rights reserved.
> + */
> +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> +#include <linux/unaligned.h>

I don't find any such file. Should this must have said <asm/unaligned.h>
instead? Curious to know if the target side was actually tested.



More information about the Linux-nvme mailing list