All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.cz>, clm@fb.com
Subject: [PULL] [PATCH 0/6] Support for 'pending changes'
Date: Fri, 14 Nov 2014 11:33:01 +0100	[thread overview]
Message-ID: <cover.1415894837.git.dsterba@suse.cz> (raw)

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


             reply	other threads:[~2014-11-14 10:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14 10:33 David Sterba [this message]
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

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=cover.1415894837.git.dsterba@suse.cz \
    --to=dsterba@suse.cz \
    --cc=clm@fb.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.