From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAEBC349AE0 for ; Tue, 18 Nov 2025 18:06:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763489169; cv=none; b=W2bBSw9qkEy22oz6p1LLVAKaxzaNf+/57a188LwVHX6U6+7gEya/vNByJxyF/wxzm33BEwnK3gnmcml9bUVyRKp4TAmH1sU9bxTCTJT0wBywOe87AFoTvszn3qWuHG8dM1AhIgUMmvlw9BG9avw4qfOyQtUvyByQlTTASZfaous= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763489169; c=relaxed/simple; bh=8N6J17d7H470YIIh6eDqaL2RdiDO8UPb9gKIoUVpvco=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=Zy9l6pDecmVPVDoSsSPUDK5rVaL32mA06d/Df7eAXpTyibsrw1dJdbHnWQjWzwQXjgKdbyUpeqfuX0pFOu7ODQDqYwlv3EBKWyQ1YyCpRHN6hsWIiZrEOMYbtWSvOLMrgwpeK3p8hoXWoXExIzaPbqVgwsp+PxQwZhLzvQaij2I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=DQW9untn; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DQW9untn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1763489165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FoDTgmSGf3Eb8A5qG0tKIRWEcokVCtQv154v3oPpskI=; b=DQW9untnY/o2WpXAS3A3RMrwOLvVCeyQ41G+BkP2X9YhleU8vUACUaj5oc7kXus7OFgEw6 5x8BcCRVLk7d8pyu1YKUGn7qcBSrbF3vGuVnb6puk+1wxwNfPE+WlhRL5k/QyQZuk8VNeb l6EhGJDU6neTP94K3/4v5Pp8L0xLbGU= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-244-mCY_IH3yNaeGGkNIXtnH7A-1; Tue, 18 Nov 2025 13:06:01 -0500 X-MC-Unique: mCY_IH3yNaeGGkNIXtnH7A-1 X-Mimecast-MFC-AGG-ID: mCY_IH3yNaeGGkNIXtnH7A_1763489160 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2364F19560B4; Tue, 18 Nov 2025 18:06:00 +0000 (UTC) Received: from [10.44.32.60] (unknown [10.44.32.60]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 54433180047F; Tue, 18 Nov 2025 18:05:57 +0000 (UTC) Date: Tue, 18 Nov 2025 19:05:52 +0100 (CET) From: Mikulas Patocka To: Dongsheng Yang cc: Li Chen , Linux Device Mapper , Linux Kernel Mailing List , Zheng Gu Subject: Re: [PATCH v2 0/3] dm-pcache: built-in support and metadata hardening In-Reply-To: <520bf329-8e3b-4b27-9bd5-82092d501174@linux.dev> Message-ID: <881e9a2a-0a9e-dda4-1b2f-e208d942898a@redhat.com> References: <20251111121337.1063443-1-me@linux.beauty> <520bf329-8e3b-4b27-9bd5-82092d501174@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463811712-1207307992-1763489159=:1055457" X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811712-1207307992-1763489159=:1055457 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Thu, 13 Nov 2025, Dongsheng Yang wrote: > Hi Mikulas, > >     Please consider taking these three patches. > > Thanx > > Dongsheng OK, thanks. I accepted the patches and I staged them for the kernel 6.18. Mikulas > 在 11/11/2025 8:13 PM, Li Chen 写道: > > From: Li Chen > > > > This three-patch series tidies dm-pcache’s build glue and tightens the > > metadata scan. > > > > Patch 1 allow dm-pcache to be linked into vmlinux and avoids clashing with > > the sunrpc > > cache_flush() by using obj-$(CONFIG_DM_PCACHE) and renaming the helper > > across the tree. > > > > Patch 2 drops a redundant recomputation of the metadata slot pointer while > > walking headers. > > > > Patch 3 Ensure dm-pcache initializes cache_info from a zeroed state so > > metadata CRC > > failures can’t leak stale flags into the new-cache path. > > > > Thanks for your review. > > > > Li Chen (3): > > dm-pcache: allow built-in build and rename flush helper > > dm-pcache: reuse meta_addr in pcache_meta_find_latest > > dm-pcache: zero cache_info before default init > > > > drivers/md/dm-pcache/Makefile | 2 +- > > drivers/md/dm-pcache/cache.c | 4 ++-- > > drivers/md/dm-pcache/cache.h | 2 +- > > drivers/md/dm-pcache/cache_req.c | 6 +++--- > > drivers/md/dm-pcache/pcache_internal.h | 2 +- > > 5 files changed, 8 insertions(+), 8 deletions(-) > > > ---1463811712-1207307992-1763489159=:1055457--