diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-08-07 19:13:58 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-09-10 17:51:18 +0300 |
commit | 6d752cacae5eb8590c98866effaebf67410a9136 (patch) | |
tree | 08e074231d988503b5cea19f9d28b62da986355f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | efffb803bf37d4514e025e3d59e067dabb59bcd1 (diff) | |
download | linux-6d752cacae5eb8590c98866effaebf67410a9136.tar.xz |
btrfs: directly wake up cleaner kthread in the BTRFS_IOC_SYNC ioctl
The BTRFS_IOC_SYNC ioctl wants to wake up the cleaner kthread so that it
does any pending work (subvolume deletion, delayed iputs, etc), however
it is waking up the transaction kthread, which in turn wakes up the
cleaner. Since we don't have any transaction to commit, as any ongoing
transaction was already committed when it called btrfs_sync_fs() and
the goal is just to wake up the cleaner thread, directly wake up the
cleaner instead of the transaction kthread.
Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions