[PATCH 00/16 V2] xfs: introduce struct xfs_da_geometry

Dave Chinner
2014-05-23T00:08:01Z

Hi folks,

This is the second version of the patchset I posted here:

http://oss.sgi.com/pipermail/xfs/2014-May/036125.html

This patchset moves all the directory and attribute structure
geometry information into it's own abstract structure. This is done
to remove a dependency of the directory code on the struct xfs_mount
and hence xfs_mount.h. It also clears up a dependency between
xfs_da_format.h and xfs_mount.h by moving all the index type
conversion functions to xfs_da_btree.h (as they are not on-disk
format definitions).

This version compiles cleanly at each patch, and runs correctly so
should be fully bisectable (unlike the RFC patch set that was
originally posted that oopsed instantly).

Note that this version is based on the current for-next branch, not
the master branch of the xfs git repo.

Comments and testing welcome!

Version 2:
- patch removing checks from xfs_da_read_buf() sent separately
- dropped patch adding xfs_da_geometry to the inode forks as it's
not currently needed
- cleared up all the "XXX" notations added in the RFC series
- fixed several bugs in different patches as a result of incorrect
conversions
- ensured each patch compiled and passes xfstests individually