btrfs: add support for processing pending changes
authorDavid Sterba <dsterba@suse.cz>
Wed, 5 Feb 2014 14:26:17 +0000 (15:26 +0100)
committerDavid Sterba <dsterba@suse.cz>
Wed, 12 Nov 2014 15:53:12 +0000 (16:53 +0100)
commit572d9ab7845ea0e043ec34cd733a75228130ad03
tree0dcf250edd2859e3dd64b0b33f9694c3fd61c29b
parent206c5f60a3d902bc4b56dab2de3e88de5eb06108
btrfs: add support for processing pending changes

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

For example enabling new incompat features on-the-fly or issuing
transaction commit from unsafe contexts (sysfs handlers).

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h