]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
btrfs: release metadata before running delayed refs
authorJosef Bacik <josef@toxicpanda.com>
Fri, 28 Sep 2018 11:17:48 +0000 (07:17 -0400)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:58:33 +0000 (19:58 -0600)
commit612de79e546fa8366ec5fe8d2ab326ea6e418b50
treea28570eec2d4da8f482c11b8af7291bdae71a2f3
parent835e0a9c9b0266aad4bb6261e3307c3e8f6f2773
btrfs: release metadata before running delayed refs

BugLink: https://bugs.launchpad.net/bugs/1836802
commit f45c752b65af46bf42963295c332865d95f97fff upstream.

We want to release the unused reservation we have since it refills the
delayed refs reserve, which will make everything go smoother when
running the delayed refs if we're short on our reservation.

CC: stable@vger.kernel.org # 4.4+
Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
fs/btrfs/transaction.c