summaryrefslogtreecommitdiff
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorYunlei He <heyunlei@huawei.com>2018-03-08 11:29:13 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2018-03-19 09:33:50 +0300
commit0833721ec3658a4e9d5e58b6fa82cf9edc431e59 (patch)
tree9eb0f0016c78e2a95b0244bb5ff3fd0a7d4391ff /fs/f2fs/f2fs.h
parent02117b8ae9c0549500119c42375f9e15602bf47e (diff)
downloadlinux-0833721ec3658a4e9d5e58b6fa82cf9edc431e59.tar.xz
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.h1
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 */
};