From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E9102C9F for ; Wed, 27 Oct 2021 20:46:43 +0000 (UTC) Received: by mail-pf1-f179.google.com with SMTP id a26so3828069pfr.11 for ; Wed, 27 Oct 2021 13:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sJa1X8Nq9O3Y4Jpn6QiA74FKvcIV+C24z8IRQUjGGE0=; b=TxZcat++g2F8swI/guncdG9/17Z/6RCDj0O4DaP3V2lEJrBjGy6sZkL1oaiVAPUX7i ibRs8fV27ZpLTrAbifA8zRst6y+Kk83j+VEjhNI+Vbneg5PK76uFu3Pt51HYTeEaMMd/ OOX5Fw0eevNVN84NzUSIfUo21BQoeHWua4n8iiMA5hViXFqIkNINp7tTwt6Va0lJxObQ XbAdy+YG2LtzHKedjvpvUxc4S7WGprooI9+nPgi9DghDQrCCLYP8qAZgeT7medHBfAJw WFVgaDdPI0CXvVHu3YcuEB3ai43LJghhdT9dLcGlj4W6soszGfdT20P58PyL1vt7VaVP hqmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sJa1X8Nq9O3Y4Jpn6QiA74FKvcIV+C24z8IRQUjGGE0=; b=ZCe6BJ48rZ4Iil/3O0xsrbEGyYqRE3LNIFZxwSgK5EOUvcl8FrhikjbOJ2K2/iZbXC WfcVIsJ06uksVExAo6I5YFAjKBVmeJMw/7wh7bh8l+FMT6BRpriuCpyiEn8BQhlQgbDN 85tc9kleNT+Bo3WEmrFYCYYx2HwAKqpXUwIHInkRc7x3g4Ujp1Zk/5ZLSG6HpbxVp3AG a6MRK8qpaMFzqDFFKidYeKZiCVNhNn07lUcVo554oLUfQ2kkTw4logpzScIcjrdj1S6x mAtwL3XaRKpWYBIWEZAONByv7xUngYckUxVS7w3hBL1Y9gJswLoY85yTRc7TS+NkYD0G B7vQ== X-Gm-Message-State: AOAM531HQvVTukPAziJo4dubP4WZT8naC4gzeRD/+zndvhkPtdszyxTl V7iQN3woPjMsCqQeJabp8N7CB0W+emHKmcblzZJzQA== X-Google-Smtp-Source: ABdhPJzuYcyzIFqC2QDapdBCh3wTfdWUrlublr2aq9P2i1Emub6ylFDIqTcshjHDL5pSUpWP0gXhlJZ+k6Puz+OdoJE= X-Received: by 2002:a05:6a00:1348:b0:47c:e8f1:69a3 with SMTP id k8-20020a056a00134800b0047ce8f169a3mr433025pfu.86.1635367603066; Wed, 27 Oct 2021 13:46:43 -0700 (PDT) Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20211018044054.1779424-1-hch@lst.de> In-Reply-To: <20211018044054.1779424-1-hch@lst.de> From: Dan Williams Date: Wed, 27 Oct 2021 13:46:31 -0700 Message-ID: Subject: Re: futher decouple DAX from block devices To: Christoph Hellwig Cc: Mike Snitzer , Ira Weiny , device-mapper development , linux-xfs , Linux NVDIMM , linux-s390 , linux-fsdevel , linux-erofs@lists.ozlabs.org, linux-ext4 , virtualization@lists.linux-foundation.org, Stephen Rothwell Content-Type: text/plain; charset="UTF-8" [ add sfr ] On Sun, Oct 17, 2021 at 9:41 PM Christoph Hellwig wrote: > > Hi Dan, > > this series cleans up and simplifies the association between DAX and block > devices in preparation of allowing to mount file systems directly on DAX > devices without a detour through block devices. So I notice that this is based on linux-next while libnvdimm-for-next is based on v5.15-rc4. Since I'm not Andrew I went ahead and rebased these onto v5.15-rc4, tested that, and then merged with linux-next to resolve the conflicts and tested again. My merge resolution is here [1]. Christoph, please have a look. The rebase and the merge result are both passing my test and I'm now going to review the individual patches. However, while I do that and collect acks from DM and EROFS folks, I want to give Stephen a heads up that this is coming. Primarily I want to see if someone sees a better strategy to merge this, please let me know, but if not I plan to walk Stephen and Linus through the resolution. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git/commit/?id=c3894cf6eb8f > > Diffstat: > drivers/dax/Kconfig | 4 > drivers/dax/bus.c | 2 > drivers/dax/super.c | 220 +++++-------------------------------------- > drivers/md/dm-linear.c | 51 +++------ > drivers/md/dm-log-writes.c | 44 +++----- > drivers/md/dm-stripe.c | 65 +++--------- > drivers/md/dm-table.c | 22 ++-- > drivers/md/dm-writecache.c | 2 > drivers/md/dm.c | 29 ----- > drivers/md/dm.h | 4 > drivers/nvdimm/Kconfig | 2 > drivers/nvdimm/pmem.c | 9 - > drivers/s390/block/Kconfig | 2 > drivers/s390/block/dcssblk.c | 12 +- > fs/dax.c | 13 ++ > fs/erofs/super.c | 11 +- > fs/ext2/super.c | 6 - > fs/ext4/super.c | 9 + > fs/fuse/Kconfig | 2 > fs/fuse/virtio_fs.c | 2 > fs/xfs/xfs_super.c | 54 +++++----- > include/linux/dax.h | 30 ++--- > 22 files changed, 185 insertions(+), 410 deletions(-)