]> git.hungrycats.org Git - linux/commit
btrfs: add support for processing pending changes
authorDavid Sterba <dsterba@suse.cz>
Wed, 5 Feb 2014 14:26:17 +0000 (15:26 +0100)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Fri, 23 Jan 2015 13:15:39 +0000 (08:15 -0500)
commit46c92a4aedd910262fb920064b59fd29ab27b377
tree3647e6c092fe6b06d52b17573ea1619ceff3ff8a
parent3e2e6977a5b5dd32d5113285be835ca7c3842640
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>
(cherry picked from commit 572d9ab7845ea0e043ec34cd733a75228130ad03)
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h