linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PULL] [PATCH 0/6] Support for 'pending changes'
@ 2014-11-14 10:33 David Sterba
  2014-11-14 10:33 ` [PATCH 1/6] btrfs: add support for processing pending changes David Sterba
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: David Sterba @ 2014-11-14 10:33 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba, clm

There are some actions that modify global filesystem state but cannot be
performed at the time of request, but rather later at the transaction commit
time when the filesystem is in a known state.

The change can be requested from any context and is permanent after sync. This
changes the semantics for the sysfs files that modify label or feature bits,
but I think this does not break existing applications.

You can pull the series from

 git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git dev/pending-changes

David Sterba (6):
  btrfs: add support for processing pending changes
  btrfs: do commit in sync_fs if there are pending changes
  btrfs: switch inode_cache option handling to pending changes
  btrfs: introduce pending action: commit
  btrfs: move commit out of sysfs when changing features
  btrfs: move commit out of sysfs when changing label

 fs/btrfs/ctree.h       | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 fs/btrfs/disk-io.c     |  8 +++++---
 fs/btrfs/inode-map.c   |  2 +-
 fs/btrfs/super.c       | 18 +++++++++++++-----
 fs/btrfs/sysfs.c       | 34 +++++++++++++---------------------
 fs/btrfs/transaction.c | 38 ++++++++++++++++++++++++++++++++------
 fs/btrfs/transaction.h |  2 ++
 7 files changed, 115 insertions(+), 37 deletions(-)

-- 
1.8.4.5


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

end of thread, other threads:[~2015-01-20  4:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14 10:33 [PULL] [PATCH 0/6] Support for 'pending changes' David Sterba
2014-11-14 10:33 ` [PATCH 1/6] btrfs: add support for processing pending changes David Sterba
2015-01-20  4:24   ` Qu Wenruo
2014-11-14 10:33 ` [PATCH 2/6] btrfs: do commit in sync_fs if there are " David Sterba
2014-11-14 10:51   ` Filipe David Manana
2014-11-14 12:34   ` [PATCH 2/6 v2] " David Sterba
2015-01-16 13:29     ` Filipe David Manana
2014-11-14 10:33 ` [PATCH 3/6] btrfs: switch inode_cache option handling to " David Sterba
2014-11-14 10:33 ` [PATCH 4/6] btrfs: introduce pending action: commit David Sterba
2014-11-14 10:33 ` [PATCH 5/6] btrfs: move commit out of sysfs when changing features David Sterba
2014-11-14 10:33 ` [PATCH 6/6] btrfs: move commit out of sysfs when changing label David Sterba

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).