Skip to content

xfs: clean up xfs_buf io interfaces

Dave Chinner linux-xfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 14 repliesIn review
  2. v1 RFC9 patches 33 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11xfs: force the log before shutting downfs/xfs/xfs_log.c+9 -281 reply
2/11xfs: Don't use xfs_buf_iowait in the delwri buffer codefs/xfs/xfs_buf.c+13 -51 reply
3/11xfs: synchronous buffer IO needs a referencefs/xfs/xfs_buf.c+42 -91 reply
4/11xfs: xfs_buf_ioend and xfs_buf_iodone_work duplicate functionalityfs/xfs/xfs_buf.c fs/xfs/xfs_buf.h fs/xfs/xfs_buf_item.c +3 more+45 -551 reply
5/11xfs: rework xfs_buf_bio_endio error handlingfs/xfs/xfs_buf.c fs/xfs/xfs_buf.h+17 -21 reply
6/11xfs: kill xfs_bdstrat_cbfs/xfs/xfs_buf.c+25 -230 replies
7/11xfs: xfs_bioerror can die.fs/xfs/xfs_buf.c+12 -461 reply
8/11xfs: kill xfs_bioerror_relsefs/xfs/xfs_buf.c fs/xfs/xfs_buf.h fs/xfs/xfs_trans_buf.c+6 -442 replies
9/11xfs: introduce xfs_buf_submit[_wait]fs/xfs/xfs_bmap_util.c fs/xfs/xfs_buf.c fs/xfs/xfs_buf.h +5 more+117 -1282 replies
10/11xfs: check xfs_buf_read_uncached returns correctlyfs/xfs/xfs_buf.c fs/xfs/xfs_buf.h fs/xfs/xfs_fsops.c +2 more+60 -631 reply
10/11xfs: check xfs_buf_read_uncached returns correctlyfs/xfs/xfs_buf.c fs/xfs/xfs_buf.h fs/xfs/xfs_fsops.c +2 more+58 -621 reply
11/11xfs: simplify xfs_zero_remaining_bytesfs/xfs/xfs_bmap_util.c+14 -302 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigBrian Foster
1/11R-b
2/11R-b
3/11R-b R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH 00/11 v2] xfs: clean up xfs_buf io interfaces

Hi folks,

This is an updated version of the patch set I first posted here:

http://oss.sgi.com/archives/xfs/2014-08/msg00203.html

There are a few changes in the patchset as a result of review comments and bugs that I found.

Version 2:
- change shutdown log force code so that the log IO is done before we mark both the filesystem and the log as being shut down. (prevents a godown regression in xfstests introduced by having xfs_buf_submit() check for shutdown)
- moved the delwri submission rework to the start of the patch set
- moved reference count fixups in error handling to the patch that introduced the new reference counting.
- dropped the xfs_trans_buf_read rework patch; it can be done at a later time after checking whether parts of the code are still needed or not.
- added Christoph's xfs_zero_remaining_bytes simplification
- reworked the error handling cleanups for xfs_buf_read_uncached
- updated several comments

-Dave.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs