summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/recovery.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2019-03-26 13:51:48 -0600
committerAndreas Gruenbacher <agruenba@redhat.com>2019-06-27 21:03:53 +0200
commite955537e3262de8e56f070b13817f525f472fa00 (patch)
treed32fa4ef25a5a0da2ddebe93b3ee2b743b37e838 /fs/gfs2/recovery.c
parent5b3a9f348bc58f0e13cebcf3e583c7d2f2499d6a (diff)
downloadlinux-stable-e955537e3262de8e56f070b13817f525f472fa00.tar.gz
linux-stable-e955537e3262de8e56f070b13817f525f472fa00.tar.bz2
linux-stable-e955537e3262de8e56f070b13817f525f472fa00.zip
gfs2: eliminate tr_num_revoke_rm
For its journal processing, gfs2 kept track of the number of buffers added and removed on a per-transaction basis. These values are used to calculate space needed in the journal. But while these calculations make sense for the number of buffers, they make no sense for revokes. Revokes are managed in their own list, linked from the superblock. So it's entirely unnecessary to keep separate per-transaction counts for revokes added and removed. A single count will do the same job. Therefore, this patch combines the transaction revokes into a single count. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/recovery.c')
0 files changed, 0 insertions, 0 deletions