linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Mahoney <jeffm@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: dsterba@suse.cz, clmason@fusionio.com
Subject: [patch 0/9 v3] add ability to query/change feature bits online
Date: Mon, 16 Sep 2013 14:19:10 -0400	[thread overview]
Message-ID: <20130916181910.799140428@suse.com> (raw)

The first patch of this series is the ioctl patch I posted before, with the
review comments handled. It now uses the reserved 57 ioctl.

The rest of the series is enabling sysfs access to feature bits, similar
to how ext4 publishes that information. Since we already have the online
changing ability via the ioctl patch, we can also enable that via sysfs
as well.

/sys/fs/btrfs/features/ contains attributes for supported features, with the
content indicating if the attribute is settable or clearable while mounted.

/sys/fs/btrfs/<fsid>/features/ contains the attributes enabled on the file
system plus attributes for features that can be changed online. The content
indicates whether the feature is currently enabled. The permissions of
the file also indicate whether it's changeable while online.

The kobj_completion patch is not intended to be applied with this set. It
should be accepted via Greg KH but is needed for testing until then.

I'll post updated tools patches separately.

-Jeff


             reply	other threads:[~2013-09-16 18:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16 18:19 Jeff Mahoney [this message]
2013-09-16 18:19 ` [patch 1/9] btrfs: add ioctls to query/change feature bits online Jeff Mahoney
2013-09-18 14:05   ` David Sterba
2013-09-18 14:14   ` David Sterba
2013-09-18 14:29     ` Jeff Mahoney
2013-09-16 18:19 ` [patch 2/9] btrfs: use btrfs_commit_transaction when setting fslabel Jeff Mahoney
2013-09-16 18:19 ` [patch 3/9] kobject: introduce kobj_completion Jeff Mahoney
2013-09-16 18:19 ` [patch 4/9] btrfs: export supported featured to sysfs Jeff Mahoney
2013-09-16 18:19 ` [patch 5/9] btrfs: add per-super attributes " Jeff Mahoney
2013-09-16 18:19 ` [patch 6/9] btrfs: publish per-super features " Jeff Mahoney
2013-09-16 18:19 ` [patch 7/9] btrfs: add publishing of unknown features in sysfs Jeff Mahoney
2013-09-16 18:19 ` [patch 8/9] btrfs: add ability to change features via sysfs Jeff Mahoney
2013-09-16 18:19 ` [patch 9/9] btrfs: use feature attribute names to print better error messages Jeff Mahoney

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=20130916181910.799140428@suse.com \
    --to=jeffm@suse.com \
    --cc=clmason@fusionio.com \
    --cc=dsterba@suse.cz \
    --cc=linux-btrfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).