From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3768DD17157 for ; Tue, 22 Oct 2024 01:43:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DJtpo80dh6yTa0tolMobXp5CJBev96DuwCKSecTtew0=; b=C54qb1HBycU1rKSjCNHzVngyV3 ghE+0tSmYpwttxCH8qj9J0AvebGDkOvR3tVR1/pvHdvTEW9XjYSCKIlcl+rvelydPHj0Z7TBG1KUC 6gyLxVw69XbmBZ4FMDF0t7eaxIBd8cGr/X/iospnypF0BODGHbOmaA7qG5Kz3GcgVWpfASBLDdTLC pywAaWk6Fs/tBpBk+n984w7sxC8pTGco/zW78W7WoHdHP1+4v8X20pzMULZsHoaOafalMFGSIJ7Wj cIcsxcO5/wRd9NsK5cgD5ApYkOTRQJSKEI8yBJMo8FATifFMoknXRlzI5/Nyhf3G82fHZlwoIGVB+ YaS5TMpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t33vY-00000009DTa-483d; Tue, 22 Oct 2024 01:43:16 +0000 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t33vP-00000009DRJ-27Fg for linux-nvme@lists.infradead.org; Tue, 22 Oct 2024 01:43:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1729561383; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=DJtpo80dh6yTa0tolMobXp5CJBev96DuwCKSecTtew0=; b=dApIaIOJJ8GXuC9Cm6Dcwcg+K+Y6GPtn4HDUqS3bvYCVGCUq2x7OO4Vt5dZW9SveQZcCWrYr+Hb2JaBh4wTogXRoXRyAwQaUP0XNHzOhcsitBA/KuCYbSSdKYnaQnUicMfRE2EMHbNckSEeDgqI9hIrvNzAt9uIUvQGY0z84gMM= Received: from 30.178.82.41(mailfrom:kanie@linux.alibaba.com fp:SMTPD_---0WHfyKma_1729561381 cluster:ay36) by smtp.aliyun-inc.com; Tue, 22 Oct 2024 09:43:02 +0800 Message-ID: Date: Tue, 22 Oct 2024 09:43:01 +0800 MIME-Version: 1.0 User-Agent: =?UTF-8?B?TW96aWxsYSBUaHVuZGVyYmlyZCDmtYvor5XniYg=?= Subject: Re: [PATCH v17 2/2] nvmet: support reservation feature To: Keith Busch Cc: hch@lst.de, sagi@grimberg.me, kch@nvidia.com, shinichiro.kawasaki@wdc.com, d.bogdanov@yadro.com, linux-nvme@lists.infradead.org References: <20241021110331.125962-1-kanie@linux.alibaba.com> <20241021110331.125962-3-kanie@linux.alibaba.com> From: Guixin Liu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_184308_036855_B69B2821 X-CRM114-Status: UNSURE ( 9.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org 在 2024/10/22 06:33, Keith Busch 写道: > 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 > I don't find any such file. Should this must have said > instead? Curious to know if the target side was actually tested. New 6.12-rc2 add a commit 5f60d5f6bbc12e782fac78110b0ee62698f3b576("move asm/unaligned.h to linux/unaligned.h"), I change my code to fit this. You can find the discission in v14. Best Regards, Guixin Liu