xfs
[Top] [All Lists]

Re: [PATCH 05/14] xfs: implement iomap based buffered write path

To: Christoph Hellwig <hch@xxxxxx>
Subject: Re: [PATCH 05/14] xfs: implement iomap based buffered write path
From: Bob Peterson <rpeterso@xxxxxxxxxx>
Date: Thu, 5 May 2016 13:55:14 -0400 (EDT)
Cc: xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1462310947-16132-6-git-send-email-hch@xxxxxx>
References: <1462310947-16132-1-git-send-email-hch@xxxxxx> <1462310947-16132-6-git-send-email-hch@xxxxxx>
Thread-index: ZAi0goBifUTzaCEVM+EiVzix6k4QBw==
Thread-topic: implement iomap based buffered write path
----- 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 <hch@xxxxxx>
> ---
>  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 <rpeterso@xxxxxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>