]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: implement iomap based buffered write path
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Jun 2016 23:53:44 +0000 (09:53 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 20 Jun 2016 23:53:44 +0000 (09:53 +1000)
commit72b42a1612357eb6b662dce433d173bac7f2f315
tree986de78ca7e20e49604faecccc95685ce52b4090
parent39aa0e898e2971fc45f08dacbece3d3978e06cb2
xfs: implement iomap based buffered write path

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@lst.de>
Reviewed-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/Kconfig
fs/xfs/xfs_aops.c
fs/xfs/xfs_file.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h
fs/xfs/xfs_iops.c
fs/xfs/xfs_trace.h