diff options
| author | 2020-12-06 15:56:22 +0000 | |
|---|---|---|
| committer | 2020-12-18 14:59:54 +0100 | |
| commit | 8fc058597a283e9a37720abb0e8d68e342b9387d (patch) | |
| tree | bd5ab32fd2d09451a9ecf9df3bd0dae7acae75a5 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | btrfs: fix racy access to discard_ctl data (diff) | |
| download | linux-dev-8fc058597a283e9a37720abb0e8d68e342b9387d.tar.xz linux-dev-8fc058597a283e9a37720abb0e8d68e342b9387d.zip | |
btrfs: merge critical sections of discard lock in workfn
btrfs_discard_workfn() drops discard_ctl->lock just to take it again in
a moment in btrfs_discard_schedule_work(). Avoid that and also reuse
ktime.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
