summaryrefslogtreecommitdiffstats
path: root/include/linux/f2fs_fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim2019-01-25 02:48:38 +0100
committerJaegeuk Kim2019-02-16 05:59:37 +0100
commitdb610a640eeeb268c36a4558414f28e1c269433e (patch)
tree66da940982008de4609356befdc2e16bfaaeecef /include/linux/f2fs_fs.h
parentf2fs: run discard jobs when put_super (diff)
downloadkernel-qcow2-linux-db610a640eeeb268c36a4558414f28e1c269433e.tar.gz
kernel-qcow2-linux-db610a640eeeb268c36a4558414f28e1c269433e.tar.xz
kernel-qcow2-linux-db610a640eeeb268c36a4558414f28e1c269433e.zip
f2fs: add quick mode of checkpoint=disable for QA
This mode returns mount() quickly with EAGAIN. We can trigger this by shutdown(F2FS_GOING_DOWN_NEED_FSCK). Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/f2fs_fs.h')
-rw-r--r--include/linux/f2fs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index d7711048ef93..d6befe1f9dc7 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -116,6 +116,7 @@ struct f2fs_super_block {
/*
* For checkpoint
*/
+#define CP_DISABLED_QUICK_FLAG 0x00002000
#define CP_DISABLED_FLAG 0x00001000
#define CP_QUOTA_NEED_FSCK_FLAG 0x00000800
#define CP_LARGE_NAT_BITMAP_FLAG 0x00000400