diff options
author | Yunlei He <heyunlei@huawei.com> | 2018-03-08 09:29:13 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-03-19 07:33:50 +0100 |
commit | 0833721ec3658a4e9d5e58b6fa82cf9edc431e59 (patch) | |
tree | 9eb0f0016c78e2a95b0244bb5ff3fd0a7d4391ff /fs/f2fs/f2fs.h | |
parent | f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read (diff) | |
download | linux-0833721ec3658a4e9d5e58b6fa82cf9edc431e59.tar.xz linux-0833721ec3658a4e9d5e58b6fa82cf9edc431e59.zip |
f2fs: check blkaddr more accuratly before issue a bio
This patch check blkaddr more accuratly before issue a
write or read bio.
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 191ee5718369..ae69dc358401 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1001,6 +1001,7 @@ struct f2fs_io_info { bool submitted; /* indicate IO submission */ int need_lock; /* indicate we need to lock cp_rwsem */ bool in_list; /* indicate fio is in io_list */ + bool is_meta; /* indicate borrow meta inode mapping or not */ enum iostat_type io_type; /* io type */ struct writeback_control *io_wbc; /* writeback control */ }; |