]> 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)
commit3f9be869366863c6f19265bf10502bf990e834e2
tree313e2ce19c02ded366c2974f9480fc94e96cb430
parent8d7cf4dc81b74719b3a850ea97b959d6b2df66de
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