Skip to content

xfs; discontiguous buffer support

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 Latest9 patches 4 repliesIn review
  2. v19 patches 33 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9xfs: struct xfs_buf_log_format isn't variable sized.fs/xfs/xfs_alloc_btree.h fs/xfs/xfs_buf_item.c fs/xfs/xfs_buf_item.h +2 more+40 -431 reply
2/9xfs: separate buffer indexing from block mapfs/xfs/xfs_buf.c fs/xfs/xfs_buf.h+35 -131 reply
3/9xfs: convert internal buffer functions to pass mapsfs/xfs/xfs_buf.c fs/xfs/xfs_buf.h+191 -541 reply
4/9xfs: add discontiguous buffer map interfacefs/xfs/xfs_buf.c fs/xfs/xfs_buf.h+58 -250 replies
5/9xfs: add discontiguous buffer support to transactionsfs/xfs/xfs_trans.h fs/xfs/xfs_trans_buf.c+79 -390 replies
6/9xfs: support discontiguous buffers in the xfs_buf_log_itemfs/xfs/xfs_buf_item.c fs/xfs/xfs_buf_item.h+244 -930 replies
7/9xfs: use discontiguous xfs_buf support in dabuf wrappersfs/xfs/xfs_da_btree.c fs/xfs/xfs_da_btree.h+239 -3050 replies
8/9xfs: remove struct xfs_dabuf and infrastructurefs/xfs/xfs_attr.c fs/xfs/xfs_attr_leaf.c fs/xfs/xfs_attr_leaf.h +10 more+602 -7790 replies
9/9xfs: factor buffer reading from xfs_dir2_leaf_getdentsfs/xfs/xfs_dir2_leaf.c+232 -2021 reply

Reviews trailers per patch

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

PatchChristoph Hellwig
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-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 0/9, V2] xfs; discontiguous buffer support

This is the latest version of the native xfs_buf discontiguous buffer support series.

The series introduces the concept of buffer block maps, then adds APIs for using them, converts the internal xfs_buf method implementation to use them exclusively, adds support for discontiguous buffer log items in transactions, converts the directory code to use them and finally removes the xfs_dabuf from the picture.

This greatly simplifies the directory buffer code and avoids copy-up/copy-down for discontiguous buffers. It also avoids needing to create and destroy a xfs-dabuf for every directory block that is read or written, greatly reducing buffer setup and teardown overhead and memory footprint.

Version 2:
- addressed Christoph's comments
- reordered to bring the xfs_buf_log_format changes up front
- rebased on a current 3.5-rc + xfs-oss/master tree

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