public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] xfs: cleanups to make userspace merges simpler
@ 2012-04-16  5:14 Dave Chinner
  2012-04-16  5:14 ` [PATCH 1/7] xfs: move xfsagino_t to xfs_types.h Dave Chinner
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Dave Chinner @ 2012-04-16  5:14 UTC (permalink / raw)
  To: xfs

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
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-16  5:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16  5:14 [PATCH 0/7] xfs: cleanups to make userspace merges simpler Dave Chinner
2012-04-16  5:14 ` [PATCH 1/7] xfs: move xfsagino_t to xfs_types.h Dave Chinner
2012-04-16  5:14 ` [PATCH 2/7] xfs: move busy extent handling to it's own file Dave Chinner
2012-04-16  5:14 ` [PATCH 3/7] xfs: clean up busy extent naming Dave Chinner
2012-04-16  5:14 ` [PATCH 4/7] xfs: move xfs_fsb_to_db to xfs_bmap.h Dave Chinner
2012-04-16  5:14 ` [PATCH 5/7] xfs: move xfs_get_extsz_hint() and kill xfs_rw.h Dave Chinner
2012-04-16  5:14 ` [PATCH 6/7] xfs: move xfs_do_force_shutdown() and kill xfs_rw.c Dave Chinner
2012-04-16  5:14 ` [PATCH 7/7] xfs: clean up xfs_bit.h includes Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox