Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751456AbdGRGry (ORCPT ); Tue, 18 Jul 2017 02:47:54 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:9783 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751338AbdGRGrw (ORCPT ); Tue, 18 Jul 2017 02:47:52 -0400 Subject: Re: [PATCH v7 1/1] f2fs: dax: implement direct access To: sunqiuyang , , , CC: , References: <1500349530-21530-1-git-send-email-sunqiuyang@huawei.com> From: Chao Yu Message-ID: <124231e8-d3f5-470d-36e4-77e07cf55403@huawei.com> Date: Tue, 18 Jul 2017 14:47:32 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1500349530-21530-1-git-send-email-sunqiuyang@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090206.596DAF10.0028,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 5b083d04e27c3a041ddb8daf38832ce1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 645 Lines: 14 On 2017/7/18 11:45, sunqiuyang wrote: > From: Qiuyang Sun > > This patch implements Direct Access (DAX) in F2FS, including: > - a mount option to choose whether to enable DAX or not > - read/write and mmap of regular files in the DAX way > - zero-out of unaligned partial blocks in the DAX way > - garbage collection of DAX files, by mapping both old and new physical > addresses of a data page into memory and copy data between them directly > - incompatibility of DAX with inline data, atomic or volatile write, etc. > > Signed-off-by: Qiuyang Sun Reviewed-by: Chao Yu