projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5dbd95
)
f2fs: use f2fs_submit_page_bio for ra_meta_pages
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 10 May 2017 18:23:36 +0000
(11:23 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 24 May 2017 04:05:36 +0000
(21:05 -0700)
This patch avoids to use f2fs_submit_merged_bio for read, which was the only
read case.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/checkpoint.c
b/fs/f2fs/checkpoint.c
index ea9c317b5916ee51610069c2c58cdb504f95969d..8d92f8249000c983cd7a1a00d0485f014193d48c 100644
(file)
--- a/
fs/f2fs/checkpoint.c
+++ b/
fs/f2fs/checkpoint.c
@@
-207,12
+207,10
@@
int ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
}
fio.page = page;
- fio.old_blkaddr = fio.new_blkaddr;
- f2fs_submit_page_mbio(&fio);
+ f2fs_submit_page_bio(&fio);
f2fs_put_page(page, 0);
}
out:
- f2fs_submit_merged_bio(sbi, META, READ);
blk_finish_plug(&plug);
return blkno - start;
}