diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2016-10-28 17:45:07 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-11-23 12:11:24 -0800 |
commit | 126606c7a99b32ba8265a51fab01533fe40c9ecc (patch) | |
tree | fe9ad10c562c4790b032295232c4c5822866dd31 /fs | |
parent | f46e8809e88d113ba096bcfc772b5182ce00b941 (diff) | |
download | linux-stable-126606c7a99b32ba8265a51fab01533fe40c9ecc.tar.gz linux-stable-126606c7a99b32ba8265a51fab01533fe40c9ecc.tar.bz2 linux-stable-126606c7a99b32ba8265a51fab01533fe40c9ecc.zip |
f2fs: Trace reset zone events
Similarly to the regular discard, trace zone reset events.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/f2fs/segment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index b7b40bad080a..5e7e311758f8 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -692,6 +692,7 @@ static int f2fs_issue_discard_zone(struct f2fs_sb_info *sbi, case BLK_ZONE_TYPE_SEQWRITE_REQ: case BLK_ZONE_TYPE_SEQWRITE_PREF: + trace_f2fs_issue_reset_zone(sbi->sb, blkstart); return blkdev_reset_zones(bdev, sector, nr_sects, GFP_NOFS); default: |