From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-phx2.redhat.com ([209.132.183.24]:33322 "EHLO mx3-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854AbcEERzT (ORCPT ); Thu, 5 May 2016 13:55:19 -0400 Date: Thu, 5 May 2016 13:55:14 -0400 (EDT) From: Bob Peterson To: Christoph Hellwig Cc: xfs@oss.sgi.com, linux-fsdevel@vger.kernel.org Message-ID: <1826465730.2008964.1462470914901.JavaMail.zimbra@redhat.com> In-Reply-To: <1462310947-16132-6-git-send-email-hch@lst.de> References: <1462310947-16132-1-git-send-email-hch@lst.de> <1462310947-16132-6-git-send-email-hch@lst.de> Subject: Re: [PATCH 05/14] xfs: implement iomap based buffered write path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: ----- Original Message ----- > Convert XFS to use the new iomap based multipage write path. This involves > implementing the ->iomap_begin and ->iomap_end methods, and switching the > buffered file write, page_mkwrite and xfs_iozero paths to the new iomap > helpers. > > With this change __xfs_get_blocks will never be used for buffered writes, > and the code handling them can be removed. > > Based on earlier code from Dave Chinner. > > Signed-off-by: Christoph Hellwig > --- > fs/xfs/Kconfig | 1 + > fs/xfs/xfs_aops.c | 212 > ----------------------------------------------------- > fs/xfs/xfs_file.c | 71 ++++++++---------- > fs/xfs/xfs_iomap.c | 144 ++++++++++++++++++++++++++++++++++++ > fs/xfs/xfs_iomap.h | 5 +- > fs/xfs/xfs_iops.c | 9 ++- > fs/xfs/xfs_trace.h | 3 + > 7 files changed, 187 insertions(+), 258 deletions(-) > Reviewed-by: Bob Peterson