From: Dave Chinner <david@fromorbit.com>
To: xfs@oss.sgi.com
Subject: [PATCH 0/7] xfs: cleanups to make userspace merges simpler
Date: Mon, 16 Apr 2012 15:14:04 +1000 [thread overview]
Message-ID: <1334553251-20571-1-git-send-email-david@fromorbit.com> (raw)
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
next reply other threads:[~2012-04-16 5:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-16 5:14 Dave Chinner [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1334553251-20571-1-git-send-email-david@fromorbit.com \
--to=david@fromorbit.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox