Skip to content
Snippets Groups Projects
Commit 9ff8ec32 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[GFS2] Split gfs2_writepage into three cases


This patch splits gfs2_writepage into separate functions for each of
the three cases: writeback, ordered and journalled. As a result
it becomes a lot easier to see what each one is doing. The common
code is moved into gfs2_writepage_common.

This fixes a performance bug where we were doing more work than
strictly required in the ordered write case.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 5561093e
No related branches found
No related tags found
No related merge requests found
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