xfs: cleanups to make userspace merges simpler
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | xfs: move xfsagino_t to xfs_types.hfs/ fs/ fs/ +48 more | +5 | 0 replies | |
| 2/7 | xfs: move busy extent handling to it's own filefs/ fs/ fs/ +6 more | +609 | 0 replies | |
| 3/7 | xfs: clean up busy extent namingfs/ fs/ fs/ +4 more | +62 | 0 replies | |
| 4/7 | xfs: move xfs_fsb_to_db to xfs_bmap.hfs/ fs/ fs/ | +16 | 0 replies | |
| 5/7 | xfs: move xfs_get_extsz_hint() and kill xfs_rw.hfs/ fs/ fs/ +12 more | +16 | 0 replies | |
| 6/7 | xfs: move xfs_do_force_shutdown() and kill xfs_rw.cfs/ fs/ fs/ | +60 | 0 replies | |
| 7/7 | xfs: clean up xfs_bit.h includesfs/ fs/ fs/ +25 more | +7 | 0 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Dave Chinner |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] xfs: cleanups to make userspace merges simpler
To make userspace merges easier, we really need to separate code that exists purely in the kernel code from code that is used by both usrespace and kernel code. This reduces the differences between the userspace and kernel code, and makes it easier to maintain. This patch series sits on top of my current patch queue as posted here:
http://oss.sgi.com/archives/xfs/2012-04/msg00768.html
The biggest change in the this series is to separate the busy extent list code from xfs_alloc.c. The busy extent code is not needed in userspace whilst the rest of the allocation code is, so it makes sense to move it to it;s own file in the kernel code.
Similarly, xfs_rw.[ch] do not exist in userspace, but there are includes all over the place for it in .c files that are shared with userspace. We can trivially kill the xfs_rw.[ch] files in the kernel altogether, removing another trivial difference between user and kernel space.
Other header file cleanups are performed - moving xfs_agino_t to xfs_types.h removes a lot of needless dependencies, as does making the static inline function xfs_fsb_to_db a just a normal function in a .c file.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs