From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f175.google.com ([74.125.82.175]:43442 "EHLO mail-ot0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751191AbeC2Wr4 (ORCPT ); Thu, 29 Mar 2018 18:47:56 -0400 Received: by mail-ot0-f175.google.com with SMTP id m22-v6so7985861otf.10 for ; Thu, 29 Mar 2018 15:47:56 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180329180927.GA16055@lst.de> References: <152167302988.5268.4370226749268662682.stgit@dwillia2-desk3.amr.corp.intel.com> <152167305782.5268.13485258587227210521.stgit@dwillia2-desk3.amr.corp.intel.com> <20180329154035.lvsepjvt6vcplshw@quack2.suse.cz> <20180329180927.GA16055@lst.de> From: Dan Williams Date: Thu, 29 Mar 2018 15:47:55 -0700 Message-ID: Subject: Re: [PATCH v7 05/14] ext4, dax: introduce ext4_dax_aops To: Christoph Hellwig Cc: Jan Kara , linux-nvdimm , "Theodore Ts'o" , Andreas Dilger , linux-ext4 , david , linux-fsdevel , linux-xfs , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Mar 29, 2018 at 11:09 AM, Christoph Hellwig wrote: > On Thu, Mar 29, 2018 at 05:40:35PM +0200, Jan Kara wrote: >> So ext4_direct_IO() for IS_DAX() files will just bail out. So could you >> just provide ext4_dax_direct_IO() which will bail out and use it here? With >> a similar comment as in xfs_vm_direct_IO() that open still needs this >> method set... Thanks! > > In fact a common noop_direct_IO might make sense. Ok, I introduced noop_direct_IO() in "fs, dax: prepare for dax-specific address_space_operations", and cleaned up xfs, ext4, and ext2 accordingly. Let me know if you want to see a resend of the series with those changes. Otherwise this will appear in -next shortly.