projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
942fd31
)
f2fs: remove preflush for nobarrier case
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 6 Feb 2017 21:57:58 +0000
(13:57 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 23 Feb 2017 18:10:48 +0000
(10:10 -0800)
This patch removes REQ_PREFLUSH in the nobarrier case.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index d14cc8be14f1d4602a6c9f5761ab8463219f4a1a..8c61fa7fd27d04089de96385498af5ee439f00b2 100644
(file)
--- a/
fs/f2fs/data.c
+++ b/
fs/f2fs/data.c
@@
-306,9
+306,9
@@
static void __f2fs_submit_merged_bio(struct f2fs_sb_info *sbi,
if (type >= META_FLUSH) {
io->fio.type = META_FLUSH;
io->fio.op = REQ_OP_WRITE;
- io->fio.op_flags = REQ_
PREFLUSH | REQ_
META | REQ_PRIO;
+ io->fio.op_flags = REQ_META | REQ_PRIO;
if (!test_opt(sbi, NOBARRIER))
- io->fio.op_flags |= REQ_FUA;
+ io->fio.op_flags |= REQ_
PREFLUSH | REQ_
FUA;
}
__submit_merged_bio(io);
out: