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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89A61C433EF for ; Tue, 9 Nov 2021 19:53:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6402461211 for ; Tue, 9 Nov 2021 19:53:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243927AbhKITzs (ORCPT ); Tue, 9 Nov 2021 14:55:48 -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-fsdevel@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.