]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Switch tr_touched to flag in transaction
authorBob Peterson <rpeterso@redhat.com>
Wed, 25 Jan 2017 17:50:47 +0000 (12:50 -0500)
committerBob Peterson <rpeterso@redhat.com>
Fri, 27 Jan 2017 13:20:13 +0000 (08:20 -0500)
commit01c14691cf7db184d9a84fa75eea1e044e014998
tree313e2ce19c02ded366c2974f9480fc94e96cb430
parentd62707a853f11f259b1043c364d93763b5e4a0ed
GFS2: Switch tr_touched to flag in transaction

This patch eliminates the int variable tr_touched in favor of a
new flag in the transaction. This is a step toward reducing contention
on the gfs2_log_lock spin_lock.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/incore.h
fs/gfs2/log.c
fs/gfs2/meta_io.c
fs/gfs2/trans.c