Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b5b24d7a authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: Fix AIL flush issue during fsync



Unfortunately, it is not enough to just ignore locked buffers during
the AIL flush from fsync. We need to be able to ignore all buffers
which are locked, dirty or pinned at this stage as they might have
been added subsequent to the log flush earlier in the fsync function.

In addition, this means that we no longer need to rely on i_mutex to
keep out writes during fsync, so we can, as a side-effect, remove
that protection too.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
Tested-By: default avatarAbhijith Das <adas@redhat.com>
parent 70b0c365
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment