[PATCH 0/8 v4] xfs: get rid of xfs_cluster_write

Dave Chinner
2016-02-10T08:47:57Z

Hi folks,

This is the 4th version of this series to followup on review
comments from Brian and Christoph. There are three new patches in
this series. Patch 2/8 is split out from patch 3/8 to document the
removal of the ioend cancelling code, spearate from the introduction
of the writepage context. Patches 7 and 8 are new patches (as in the
first time I've posted them) to demonstrate how to remove the IO
completion dependency on recording the bufferehads attached to the
ioend. This is the first step in removing bufferheads from the
writepage IO path - these are FYI patches, not patches I want to
have committed immediately.

The changes all run through xfstests on 4k and 1k block size
filesystems fine, and I think i addressed all the review comments.
Patch 6/8 changed enough that I removed Brian's reviewed-by from it
and so it will need to be looked at completely again.

-Dave.

Version 4:
- split xfs_ioend_cancel removal into it's own patch (patch 2)
- cleaned up submission of ioends to be consistent w.r.t. success
and error paths (patch 3)
- made variables names less verbose (patch 6)
- got rid of xfs_writepage_submit() (patch 6)
- use a struct list_head for ioend chaining (patch 6)
- consolidated ioend submission paths to use common code (patch 6)