]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: wake up transaction thread from SYNC_FS ioctl
authorDavid Sterba <dsterba@suse.cz>
Wed, 23 Jul 2014 12:39:35 +0000 (14:39 +0200)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:42 +0000 (13:37 -0700)
commit3a0d8081bd1d2a7e1318420320248956a926b761
tree79f8dcc4da44b3124c3df2ff6a3bd014d43467fd
parent47dbdd0532856e943babcd4c18020d4f86ad0c5a
btrfs: wake up transaction thread from SYNC_FS ioctl

The transaction thread may want to do more work, namely it pokes the
cleaner ktread that will start processing uncleaned subvols.

This can be triggered by user via the 'btrfs fi sync' command, otherwise
there was a delay up to 30 seconds before the cleaner started to clean
old snapshots.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ioctl.c