Oops, Please ignore the second patch. Sorry for the noise. 2013-12-11 (수), 15:05 +0900, Jaegeuk Kim: > We need to get a trace before submit_bio, since its bi_sector is remapped > during > the submit_bio. > > Signed-off-by: Jaegeuk Kim <[email protected]> > --- > fs/f2fs/data.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c > index ebc9177..969df55 100644 > --- a/fs/f2fs/data.c > +++ b/fs/f2fs/data.c > @@ -103,9 +103,10 @@ static void __submit_merged_bio(struct f2fs_bio_info *io) > > rw = fio->rw | fio->rw_flag; > > + trace_f2fs_submit_write_bio(io->sbi->sb, rw, fio->type, io->bio); > + > if (is_read_io(rw)) { > submit_bio(rw, io->bio); > - trace_f2fs_submit_read_bio(io->sbi->sb, rw, fio->type, io->bio); > io->bio = NULL; > return; > } > @@ -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; > } >
-- Jaegeuk Kim Samsung ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
