diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-10-31 10:52:02 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-11-08 10:51:53 +0100 |
commit | 20ed0535d35b74c9e4fa5777766d6e836fe3c90c (patch) | |
tree | 9dc6ec31d998d52a5d66017ee737f108000134a7 /fs/gfs2/log.c | |
parent | Linux 3.2-rc1 (diff) | |
download | linux-20ed0535d35b74c9e4fa5777766d6e836fe3c90c.tar.xz linux-20ed0535d35b74c9e4fa5777766d6e836fe3c90c.zip |
GFS2: Fix up REQ flags
Christoph has split up REQ_PRIO from REQ_META. That means that
we can drop REQ_PRIO from places where is it not needed. I'm
not at all sure that the combination WRITE_FLUSH_FUA | REQ_PRIO
makes any kind of sense, anyway.
In addition, I've added REQ_META to one place in the code where
it was missing. REQ_PRIO has been left for read/writes triggered
by glock acquisition and writeback only. We can adjust it again
if required, but these are the most important points from a
performance perspective.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r-- | fs/gfs2/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index 598646434362..2731e657cf7f 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c @@ -626,7 +626,7 @@ static void log_write_header(struct gfs2_sbd *sdp, u32 flags, int pull) if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags)) submit_bh(WRITE_SYNC | REQ_META | REQ_PRIO, bh); else - submit_bh(WRITE_FLUSH_FUA | REQ_META | REQ_PRIO, bh); + submit_bh(WRITE_FLUSH_FUA | REQ_META, bh); wait_on_buffer(bh); if (!buffer_uptodate(bh)) |