]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "gfs2: Don't reject a supposedly full bitmap if we have blocks reserved"
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 6 Oct 2020 12:29:04 +0000 (14:29 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 18 Jan 2021 15:56:37 +0000 (16:56 +0100)
commitf132cecbdadcfcc23b562fb8d1706b3af1d32357
tree40f81956526a1394a1628014ed58a26ae3e50ccf
parentc0572c7dc1292f863498324192577bab7f4bdd44
Revert "gfs2: Don't reject a supposedly full bitmap if we have blocks reserved"

This reverts commit 02af1db2132a49a670ddb4423b0171226253e449.

It turns out that we're only setting the GBF_FULL flag of a bitmap if we've
been scanning from the beginning of the bitmap until the end and we haven't
found a single free block, and we're not skipping reservations in that process,
either.  This means that in gfs2_rbm_find, we can always skip bitmaps with the
GBF_FULL flag set.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/rgrp.c