]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
btrfs: introduce pending action: commit
authorDavid Sterba <dsterba@suse.cz>
Wed, 12 Nov 2014 13:24:35 +0000 (14:24 +0100)
committerDavid Sterba <dsterba@suse.cz>
Wed, 12 Nov 2014 15:53:14 +0000 (16:53 +0100)
commitd51033d05547675f898ce4233a7d8d1a0dfe2984
treedbdf9ce4507515b1305ee354d6e968ab3aa01b15
parent7e1876aca815029d5c3023a66a91e249eca3e533
btrfs: introduce pending action: commit

In some contexts, like in sysfs handlers, we don't want to trigger a
transaction commit. It's a heavy operation, we don't know what external
locks may be taken. Instead, make it possible to finish the operation
through sync syscall or SYNC_FS ioctl.

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