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:
458e619
)
f2fs: fix the location of tracepoint
author
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Wed, 11 Dec 2013 05:29:39 +0000
(14:29 +0900)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:06 +0000
(10:18 +0900)
We need to get a trace before submit_bio, since its bi_sector is remapped during
the submit_bio.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/data.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index ebc91778e81554df4cc49270703cc712f9533e7c..15956fa584de9a67057ac33f2fc77936a6c83135 100644
(file)
--- a/
fs/f2fs/data.c
+++ b/
fs/f2fs/data.c
@@
-104,11
+104,12
@@
static void __submit_merged_bio(struct f2fs_bio_info *io)
rw = fio->rw | fio->rw_flag;
if (is_read_io(rw)) {
- submit_bio(rw, io->bio);
trace_f2fs_submit_read_bio(io->sbi->sb, rw, fio->type, io->bio);
+ submit_bio(rw, io->bio);
io->bio = NULL;
return;
}
+ trace_f2fs_submit_write_bio(io->sbi->sb, rw, fio->type, io->bio);
/*
* META_FLUSH is only from the checkpoint procedure, and we should wait
@@
-122,7
+123,6
@@
static void __submit_merged_bio(struct f2fs_bio_info *io)
} else {
submit_bio(rw, io->bio);
}
- trace_f2fs_submit_write_bio(io->sbi->sb, rw, fio->type, io->bio);
io->bio = NULL;
}