]> git.ipfire.org Git - thirdparty/linux.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)
commit9862ca056e654633e521b303f74fb123f7f17e98
tree313e2ce19c02ded366c2974f9480fc94e96cb430
parentb63f5e84826b3e1ae81e051a6a7c5a94b657aecb
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