]> 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)
commitfdc86e35e7726cf0745d243210caac8e3beb880b
treea93e50e9b585b972af3ee0399247d32b26a449c2
parent3834c1b7e8ab404af6c7dec6686c0ec8bfe10f11
Revert "GFS2: Re-add a call to log_flush_wait when flushing the journal"

This reverts commit bc536922a64a34332bbde0dbf3a26c04f18c8f9e.
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