From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH v8 1/1] f2fs: dax: implement direct access Date: Wed, 26 Jul 2017 10:01:47 -0700 Message-ID: <20170726170147.GA31930@infradead.org> References: <1500552639-18523-1-git-send-email-sunqiuyang@huawei.com> <20170726072634.GA4684@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Dan Williams Cc: Christoph Hellwig , "linux-nvdimm@lists.01.org" , Linux Kernel Mailing List , linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel , Jaegeuk Kim , sunqiuyang List-Id: linux-f2fs-devel.lists.sourceforge.net On Wed, Jul 26, 2017 at 09:53:07AM -0700, Dan Williams wrote: > It allows for opt-in for applications, or administrators of those > applications, that know the type of access. That's BS. We need to provide the best possible way to access the media to an application. And whether that's DAX or the page cache is an implementation detail that should not matter to the application. Which doesn't mean there shouldn't be ways to override the default that the kernel chose based on hardware details, but it's certainly not something for the application to hardcode, but something for the adminstrator to decide. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 26 Jul 2017 10:01:47 -0700 From: Christoph Hellwig Subject: Re: [PATCH v8 1/1] f2fs: dax: implement direct access Message-ID: <20170726170147.GA31930@infradead.org> References: <1500552639-18523-1-git-send-email-sunqiuyang@huawei.com> <20170726072634.GA4684@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Dan Williams Cc: "linux-nvdimm@lists.01.org" , Linux Kernel Mailing List , linux-f2fs-devel@lists.sourceforge.net, Christoph Hellwig , linux-fsdevel , Jaegeuk Kim , sunqiuyang List-ID: On Wed, Jul 26, 2017 at 09:53:07AM -0700, Dan Williams wrote: > It allows for opt-in for applications, or administrators of those > applications, that know the type of access. That's BS. We need to provide the best possible way to access the media to an application. And whether that's DAX or the page cache is an implementation detail that should not matter to the application. Which doesn't mean there shouldn't be ways to override the default that the kernel chose based on hardware details, but it's certainly not something for the application to hardcode, but something for the adminstrator to decide. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm