]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Use a tighter bound in gfs2_trans_begin
authorAndreas Gruenbacher <agruenba@redhat.com>
Sun, 6 Dec 2020 13:04:36 +0000 (14:04 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 3 Feb 2021 17:37:25 +0000 (18:37 +0100)
commit540fe099a3c660b506f67702f515b3e20bdad697
tree44d329de72355bc7758dc8bf70da42e6c32d6514
parent137759f7701cce2f1f3135d290467a9a794cd231
gfs2: Use a tighter bound in gfs2_trans_begin

Use a tighter bound for the number of blocks required by transactions in
gfs2_trans_begin: in the worst case, we'll have mixed data and metadata,
so we'll need a log desciptor for each type.

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