On Sat, 1 Dec 2018 at 12:10, Andreas Gruenbacher <agrue...@redhat.com> wrote: > Unconditionally call gfs2_adjust_reservation in gfs2_alloc_blocks. Move > the code for updating rd_free and rd_free_clone from gfs2_alloc_blocks > into gfs2_adjust_reservation.
Let me change that description to: Prepare gfs2_adjust_reservation for resource group glock sharing: Call it from gfs2_alloc_blocks unconditionally. Update rd_free and rd_free_clone in gfs2_adjust_reservation under rd_rsspin: holding the resource group glock alone will no longer be enough to keep the balance of the resoruce group counters straight. Thanks, Andreas