Skip to content
Commit c953a735 authored by Bob Peterson's avatar Bob Peterson
Browse files

gfs2: change from write to read lock for sd_log_flush_lock in journal replay



Function gfs2_recover_func grabs the sd_log_flush_lock rw_semaphore in
write mode. This is unnecessary because we only need to prevent log flush
from using sd_log_bio bio while it does. Therefore, a read lock will be
enough. This is a small step in cleaning up log flush.

Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent 9592ea80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment