]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "GFS2: Re-add a call to log_flush_wait when flushing the journal"
authorBob Peterson <rpeterso@redhat.com>
Wed, 20 Jan 2021 15:12:59 +0000 (10:12 -0500)
committerBob Peterson <rpeterso@redhat.com>
Mon, 25 Jan 2021 13:08:44 +0000 (08:08 -0500)
commite967aba9470e49012d9ada0314583f59f1512923
treea93e50e9b585b972af3ee0399247d32b26a449c2
parent35fc0b63d95406a160575b7ce22a3919ae44ee60
Revert "GFS2: Re-add a call to log_flush_wait when flushing the journal"

This reverts commit d5969f9758b15d1b17f7a4612551c44c1ca86e57.
Patch 428fd95d85b2 added a call to log_flush_wait to function
gfs2_log_flush. Then gfs2_log_flush calls log_write_header which submits
a write request with the REQ_PREFLUSH flag which also forces it to wait.
This patch removes the unnecessary call to log_flush_wait.

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