Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp620034pxh; Tue, 9 Nov 2021 16:18:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXZx1XF4xjk0VmY7AThhX4idtFaBDDLharMFzYMGbjqCs/itAnAFDJorSeMGdqrAazMMAV X-Received: by 2002:aa7:cdc9:: with SMTP id h9mr16097065edw.370.1636503485725; Tue, 09 Nov 2021 16:18:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636503485; cv=none; d=google.com; s=arc-20160816; b=AxQlBGl0B4pJ7NIc44OoZIvM9h9KMa28oP9dySwC/H40RksnYmPlDKT3PSnkAE7VL4 Vc6VYmai9NJLWQZfHRMXB3ejNc+mu5EwOI5Sr/1BsVCPex7HfmuIxLqTBnJBRxcwTPLa tGjsv83EzRULFJ313lTi/3g3dzewxn62vhBp0cL6XuCYg0BqEVWCMXpANDc1ktA0LrDs F0IbXtWp/ngpf2+NssrxjUOkdtUMAXzg30wwlzAo93tfJRM5lCeArpAgGVB9xApiuCUs v7L+N6Ewbuqc27v4ETi/5dGEWKCfXLvolJJ1hpUyhGkkKozEeg+nUB70Lb0S8VsR33cQ h14A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=M+KuJQ3Pij3vq+0we6vwJ0jmx0Ngow3BIyNmiozxHWw=; b=VSl/7xvstZh8VtoE195yNhNMZQQcDUgvixUg+A0i31ozo/UJN2+inJVrlbvgfd3XnX 8dwpVh/de9CO5LiEZci7goi8+E+rUboSGJeYk3PWLodhBtMWixEYZiT9zHgMMQxgyo7M 9dowQRVxzvhQYFB4fD4DH+RrnlbM4BBMdYxdVS02mPiT2kqgvPuNJwEXOgUGTWJhl/Jv lV12gN0BqT9O5rIgcZusMsOYVwA1m1y4JocA1MOXhYLy2/EdGcWGwqYaE3tHC27K+Jwi xW6252eeQagjBfD6LKJFCvqq9/knA0l+npEz9GVwC97OcgcEVYYPcQn7A3sQnmkyLHFI HUwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Zj8SxV2e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dz11si51337382edb.137.2021.11.09.16.17.43; Tue, 09 Nov 2021 16:18:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Zj8SxV2e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243932AbhKITzt (ORCPT + 97 others); Tue, 9 Nov 2021 14:55:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243249AbhKITzs (ORCPT ); Tue, 9 Nov 2021 14:55:48 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23C46C061764; Tue, 9 Nov 2021 11:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=M+KuJQ3Pij3vq+0we6vwJ0jmx0Ngow3BIyNmiozxHWw=; b=Zj8SxV2eOkRGfCcnCtlFlo+1TA jvKEWj3ewjGlYZYaDUZqJrpHNnrkUQ+Xpqr2k6Kt68dLW1aHctQDfd4MuvFQ+ewTawM/O8HnY9yw7 veLv1Woq+/D5fSxJt2Zrtua/nKUBrJm2TVtpKX88kH3VfBGLJHws19r0lkg3q3S24MFyo2f42bh6t FsEsTnOo6NqYNyRjahehDO2F7i9tNa2WblUNT/TyBUo9+wtUXQ7CUQRE3nomCEf73uQmHL7b4uhlC vKp+YeQVsBVYJcs94mt3zfP9J/Mps/VIcMApDtERdntma0FwiUZQ+HH6/gJJ2k0Gtj8lRGcYxDCzx 84ouUL3A==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkXAo-0038qy-K2; Tue, 09 Nov 2021 19:52:50 +0000 Date: Tue, 9 Nov 2021 11:52:50 -0800 From: Christoph Hellwig To: Dan Williams Cc: Christoph Hellwig , Jane Chu , david , "Darrick J. Wong" , Vishal L Verma , Dave Jiang , Alasdair Kergon , Mike Snitzer , device-mapper development , "Weiny, Ira" , Matthew Wilcox , Vivek Goyal , linux-fsdevel , Linux NVDIMM , Linux Kernel Mailing List , linux-xfs Subject: Re: [PATCH v2 2/2] dax,pmem: Implement pmem based dax data recovery Message-ID: References: <20211106011638.2613039-1-jane.chu@oracle.com> <20211106011638.2613039-3-jane.chu@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 09, 2021 at 10:48:51AM -0800, Dan Williams wrote: > I think we just make error management a first class citizen of a > dax-device and stop abstracting it behind a driver callback. That way > the driver that registers the dax-device can optionally register error > management as well. Then fsdax path can do: This sound pretty sensible.