Message ID | 20240705105614.3377694-1-luchangqi.123@bytedance.com |
---|---|
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bytedance.com header.i=@bytedance.com header.a=rsa-sha256 header.s=google header.b=T8/CRCe4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WFr8N10vlz1xqb for <incoming@patchwork.ozlabs.org>; Fri, 5 Jul 2024 20:57:56 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1sPgcB-0002AT-F4; Fri, 05 Jul 2024 06:56:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <luchangqi.123@bytedance.com>) id 1sPgc9-00028X-Kt for qemu-devel@nongnu.org; Fri, 05 Jul 2024 06:56:29 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <luchangqi.123@bytedance.com>) id 1sPgc7-0006Yk-7F for qemu-devel@nongnu.org; Fri, 05 Jul 2024 06:56:29 -0400 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1fafb9a33b3so7964575ad.1 for <qemu-devel@nongnu.org>; Fri, 05 Jul 2024 03:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1720176983; x=1720781783; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3e7KptOEaYocxrc+0ZzQ+mp68VC1C9a7NZ0Is9aEo14=; b=T8/CRCe4BzZV0BHm9SgmpGar9BbylhsbIbyelmwCZ/e4S92bWAxEycLY1TxePLH0xd uHo8s3nqyvprTJBK0Fdg6Lg1yLskq/yyRD7ryb8MHdqELPHVERTBrpY2c972/Qv0PveC taMKzbJJE11O6cQ/AOdCWW/uGX/EJLxNHITf1hf5QvszprcHlaAxZQi1B+c732QhGjCk 5QAEe5fxKOdz52chBUjHPnpdELGel6NGj3AJLc18FyLdDYdDCYPI2cacPwWA0esiRv5I IbCsnLiJxwvqdqtAkvLCenTn5R7tK+pdhWnOcMQOu6hIHypFeI1fu/0dGgxpOkv/oLOA TClg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720176983; x=1720781783; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3e7KptOEaYocxrc+0ZzQ+mp68VC1C9a7NZ0Is9aEo14=; b=onNIyq09vuLzS+7P4VOpsnwZwHTm/LVU9BBtY9cuED40nncT8EFNVQfH654MAxxjvz 71U0pkfzyyRpKKbl66WO3oLKkDwlVETh4nzfz78VNFe938lw/w9q4YC7+YTruodsEmhR sXcHRDb8Ybr4k0tPch07Gdd+xVfYao1VovRBaOdRPIxngIwWnKoOUv7ucIv5EIlXdcMa jONVISuXm/0Qh1Or72DX1SAt06yHHrWAbOMfqmUC6N1tmH9u8Hj5ZDtv0NlgXuiL67aB +0UsEAHDeOWUN+CpZeDUD4rOXqzmLr47ni4GKOzN0AHUnWS0WzZf3Mvwp/3S9Powt2jM aqvQ== X-Forwarded-Encrypted: i=1; AJvYcCWAkzjgZYmV99BKetaixSsj4PzvxpXyjWHhAg2vtn9sxWBZ2rXwdtEN73zCInNQ8ugpV0FlvsDaRvSmaPCIkgrUfgtf+nc= X-Gm-Message-State: AOJu0Yw96LchEoxMEO+w0RRqA1nmwEQKlYsC3JAxZHTZE2scKxkc5nub 78ZUiZbs/1Vq2lMTZhb3o/j52kgXe9EABynq6HzrA4D7uURjv1V2449hx3thp7Q= X-Google-Smtp-Source: AGHT+IHUvyKSArRdVDiB6xOnr5PwB5zve/fCiXrjoZF/7khnaRp0Vf6a5LvpX7Wmirh2P1QTfRNRzw== X-Received: by 2002:a17:902:f54f:b0:1fb:30f2:3b80 with SMTP id d9443c01a7336-1fb33efe08emr32074185ad.52.1720176982973; Fri, 05 Jul 2024 03:56:22 -0700 (PDT) Received: from n37-006-243.byted.org ([180.184.84.173]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fac0ba60a2sm141292125ad.0.2024.07.05.03.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 03:56:22 -0700 (PDT) From: Changqi Lu <luchangqi.123@bytedance.com> To: qemu-block@nongnu.org, qemu-devel@nongnu.org Cc: kwolf@redhat.com, hreitz@redhat.com, stefanha@redhat.com, fam@euphon.net, ronniesahlberg@gmail.com, pbonzini@redhat.com, pl@dlhnet.de, kbusch@kernel.org, its@irrelevant.dk, foss@defmacro.it, philmd@linaro.org, pizhenwei@bytedance.com, Changqi Lu <luchangqi.123@bytedance.com> Subject: [PATCH v7 00/10] Support persistent reservation operations Date: Fri, 5 Jul 2024 18:56:04 +0800 Message-Id: <20240705105614.3377694-1-luchangqi.123@bytedance.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=luchangqi.123@bytedance.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
Series |
Support persistent reservation operations
|
expand
|
On Fri, Jul 05, 2024 at 06:56:04PM +0800, Changqi Lu wrote: > Hi, > > Patch v7 has been modified. > Thanks again to Stefan for reviewing the code. > > v6->v7: > - Add buferlen size check at SCSI layer. > - Add pr_cap calculation in bdrv_merge_limits() function at block layer, > so the ugly bs->file->bs->bl.pr_cap in scsi and nvme layers was > changed to bs->bl.pr_cap. > - Fix memory leak at iscsi driver, and some other spelling errors. I have left comments. Thanks! Stefan