From: Brian Foster <bfoster@redhat.com>
To: xfs@oss.sgi.com
Subject: [PATCH v2 0/6] xfs sysfs support
Date: Fri, 27 Jun 2014 08:06:55 -0400 [thread overview]
Message-ID: <1403870821-20143-1-git-send-email-bfoster@redhat.com> (raw)
Hi all,
Here's v2 of sysfs support for XFS. The previous version is available
here:
http://oss.sgi.com/archives/xfs/2014-06/msg00141.html
This version is rebased onto the latest for-next and further cleans up
the code to use some abstractions for sysfs object maintenance and
associated helpers. As noted in the v1 thread, I think the current doc
patch already indicates that the sysfs attrs are not considered stable.
Unless there is further feedback on that front, I'll leave that patch as
is.
Brian
v2:
- Rebased to latest for-next (error negation, libxfs).
- Introduce xfs_kobj container for kobject and completion.
- Genericize kobject release function.
- Move snprintf() outside of iclog lock in log_head_lsn_show(). Clean up
xlog handlers.
v1:
- Move sysfs infrastructure code to new source file, add helpers for
object initialization, etc.
- Created an xfs_mount->xlog object heirarchy for attributes associated
with the log.
- Renamed the reserve/write grant head attributes to
'[reserve,write]_grant_head.'
- Use the 'cycle:block' or 'cycle:bytes' decimal format for attributes
(rather than export encoded values).
- Included generic mountfs fix and doc.
Brian Foster (6):
xfs: fix a couple error sequence jumps in xfs_mountfs()
xfs: add a sysfs kset
xfs: add xfs_mount sysfs kobject
xfs: add xlog sysfs kobject and attribute handlers
xfs: add log attributes for log lsn and grant head data
xfs: document log sysfs attributes in testing ABI
Documentation/ABI/testing/sysfs-fs-xfs | 39 ++++++++
fs/xfs/Makefile | 1 +
fs/xfs/xfs_linux.h | 11 +++
fs/xfs/xfs_log.c | 9 ++
fs/xfs/xfs_log_priv.h | 2 +
fs/xfs/xfs_mount.c | 18 +++-
fs/xfs/xfs_mount.h | 1 +
fs/xfs/xfs_super.c | 12 ++-
fs/xfs/xfs_sysfs.c | 165 +++++++++++++++++++++++++++++++++
fs/xfs/xfs_sysfs.h | 59 ++++++++++++
10 files changed, 313 insertions(+), 4 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-fs-xfs
create mode 100644 fs/xfs/xfs_sysfs.c
create mode 100644 fs/xfs/xfs_sysfs.h
--
1.8.3.1
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2014-06-27 12:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-27 12:06 Brian Foster [this message]
2014-06-27 12:06 ` [PATCH v2 1/6] xfs: fix a couple error sequence jumps in xfs_mountfs() Brian Foster
2014-06-27 12:06 ` [PATCH v2 2/6] xfs: add a sysfs kset Brian Foster
2014-06-27 12:06 ` [PATCH v2 3/6] xfs: add xfs_mount sysfs kobject Brian Foster
2014-06-28 0:56 ` Dave Chinner
2014-06-27 12:06 ` [PATCH v2 4/6] xfs: add xlog sysfs kobject and attribute handlers Brian Foster
2014-07-10 23:33 ` Dave Chinner
2014-06-27 12:07 ` [PATCH v2 5/6] xfs: add log attributes for log lsn and grant head data Brian Foster
2014-06-27 12:07 ` [PATCH v2 6/6] xfs: document log sysfs attributes in testing ABI Brian Foster
2014-07-10 23:32 ` 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=1403870821-20143-1-git-send-email-bfoster@redhat.com \
--to=bfoster@redhat.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