From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by kanga.kvack.org (Postfix) with ESMTP id 3A5516B0005 for ; Thu, 12 May 2016 04:38:57 -0400 (EDT) Received: by mail-lb0-f197.google.com with SMTP id tb5so8475992lbb.3 for ; Thu, 12 May 2016 01:38:57 -0700 (PDT) Received: from mx2.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id z4si14843066wjh.249.2016.05.12.01.38.55 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 12 May 2016 01:38:55 -0700 (PDT) Date: Thu, 12 May 2016 10:38:52 +0200 From: Jan Kara Subject: Re: [PATCH v7 5/6] dax: for truncate/hole-punch, do zeroing through the driver if possible Message-ID: <20160512083852.GB10306@quack2.suse.cz> References: <1463000932-31680-1-git-send-email-vishal.l.verma@intel.com> <1463000932-31680-6-git-send-email-vishal.l.verma@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1463000932-31680-6-git-send-email-vishal.l.verma@intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: Vishal Verma Cc: linux-nvdimm@lists.01.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, xfs@oss.sgi.com, linux-ext4@vger.kernel.org, linux-mm@kvack.org, Ross Zwisler , Dan Williams , Dave Chinner , Jan Kara , Jens Axboe , Andrew Morton , linux-kernel@vger.kernel.org, Christoph Hellwig , Jeff Moyer , Boaz Harrosh On Wed 11-05-16 15:08:51, Vishal Verma wrote: > In the truncate or hole-punch path in dax, we clear out sub-page ranges. > If these sub-page ranges are sector aligned and sized, we can do the > zeroing through the driver instead so that error-clearing is handled > automatically. > > For sub-sector ranges, we still have to rely on clear_pmem and have the > possibility of tripping over errors. > > Cc: Dan Williams > Cc: Ross Zwisler > Cc: Jeff Moyer > Cc: Christoph Hellwig > Cc: Dave Chinner > Cc: Jan Kara > Reviewed-by: Christoph Hellwig > Signed-off-by: Vishal Verma The patch looks good to me now. Feel free to add: Reviewed-by: Jan Kara Honza -- Jan Kara SUSE Labs, CR -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org