From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-173.mta0.migadu.com (out-173.mta0.migadu.com [91.218.175.173]) (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 ACE76221FDC for ; Fri, 13 Jun 2025 03:40:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749786019; cv=none; b=CqG6mPiN4x2QPOD1UxzK44T7HWSwzqCh0r7WE6Zbm8tmj4WQdyLyiJyU80OduC1k5wVvdac0NUYs7IC9KJfl+kmc6sBQm8H2xgmqKB7uklr4j4VL65EgrHf+c/NU5O9heWbK/72RhDd9Z7VT8PjSRAItPfolmvfCexNIlpsG5Zw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749786019; c=relaxed/simple; bh=fLcVpDCbE/6C30fzPDJZhmMsEXjlAvnVMrYWqOEtrfc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=s8WNYCBFK0oS2zNpSuLF5Y53ZQ4HBsINvY/V21L4dTwVP7rGQj0x+gqkBO9s0Zkc4ZQpN9AnQI5fi8uKNdQUVAjDi85J+SfCgqDi0xrF3cRkAtjr9MZ6NO2GqT5sbmqtKlNdq3gou0NTSpJxkCEnN3RoM6mu+vhb9sNxtxcH5II= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=l695HTCI; arc=none smtp.client-ip=91.218.175.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="l695HTCI" Message-ID: <6543e8c9-5368-4861-aab0-47b839ffb701@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1749786004; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OK95Kex3pTKub48BpiYZovwebqHHH0GQqhXbdTXF7cE=; b=l695HTCI7hsjUMMiMu9lHICk5i4Txm3dezyKjuZacNkbXHYCthKDAev0WYaJwV8NQ76RYI MMLa504XZATYdfdyU27dZOZUBL0F7/ImHp8132p44JEE43rByFfyTZX6mozs30c46bvmZZ 5FwKlt49II7uJBUJiQ8SuPFR7FPjRQQ= Date: Fri, 13 Jun 2025 11:39:58 +0800 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: =?UTF-8?Q?Re=3A_=5BRFC_v2_00/11=5D_dm-pcache_=E2=80=93_persistent-m?= =?UTF-8?Q?emory_cache_for_block_devices?= To: Mikulas Patocka Cc: agk@redhat.com, snitzer@kernel.org, axboe@kernel.dk, hch@lst.de, dan.j.williams@intel.com, Jonathan.Cameron@Huawei.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org, nvdimm@lists.linux.dev, dm-devel@lists.linux.dev References: <20250605142306.1930831-1-dongsheng.yang@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Dongsheng Yang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On 2025/6/13 0:57, Mikulas Patocka wrote: > Hi > > > On Thu, 5 Jun 2025, Dongsheng Yang wrote: > >> Hi Mikulas and all, ... > > Generally, the code doesn't seem bad. After reworking the out-of-memory > handling and replacing arbitrary waits with wait queues, I can merge it. Hi Mikulas,     Thanks for your review. I will go through and respond to your review comments one by one over the next few days, before the next version. Thanx Dongsheng > > Mikulas >