summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/checkpoint.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-06-04 14:25:24 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-06-08 10:25:51 -0700
commit19a5f5e2ef37f032efd840ada257bce2e91c8066 (patch)
tree18837e95f8bc8a41ad7460b327e65b5844a9a90c /fs/f2fs/checkpoint.c
parent7dfeaa32204841aade36ba243a1cb45c54f42c15 (diff)
downloadlinux-stable-19a5f5e2ef37f032efd840ada257bce2e91c8066.tar.gz
linux-stable-19a5f5e2ef37f032efd840ada257bce2e91c8066.tar.bz2
linux-stable-19a5f5e2ef37f032efd840ada257bce2e91c8066.zip
f2fs: drop any block plugging
In f2fs, we don't need to keep block plugging for NODE and DATA writes, since we already merged bios as much as possible. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r--fs/f2fs/checkpoint.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index 5ddd15cd6c6c..4179c7b971fc 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -897,11 +897,8 @@ static int block_operations(struct f2fs_sb_info *sbi)
.nr_to_write = LONG_MAX,
.for_reclaim = 0,
};
- struct blk_plug plug;
int err = 0;
- blk_start_plug(&plug);
-
retry_flush_dents:
f2fs_lock_all(sbi);
/* write all the dirty dentry pages */
@@ -938,7 +935,6 @@ retry_flush_nodes:
goto retry_flush_nodes;
}
out:
- blk_finish_plug(&plug);
return err;
}