Home
last modified time | relevance | path

Searched refs:whint_mode (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/f2fs/
H A Dsuper.c229 {Opt_whint, "whint_mode=%s"},
865 F2FS_OPTION(sbi).whint_mode = WHINT_MODE_USER; in parse_options()
867 F2FS_OPTION(sbi).whint_mode = WHINT_MODE_OFF; in parse_options()
869 F2FS_OPTION(sbi).whint_mode = WHINT_MODE_FS; in parse_options()
1100 F2FS_OPTION(sbi).whint_mode = WHINT_MODE_OFF; in parse_options()
1706 if (F2FS_OPTION(sbi).whint_mode == WHINT_MODE_USER) in f2fs_show_options()
1707 seq_printf(seq, ",whint_mode=%s", "user-based"); in f2fs_show_options()
1708 else if (F2FS_OPTION(sbi).whint_mode == WHINT_MODE_FS) in f2fs_show_options()
1709 seq_printf(seq, ",whint_mode=%s", "fs-based"); in f2fs_show_options()
1745 F2FS_OPTION(sbi).whint_mode in default_options()
[all...]
H A Ddata.c3689 int whint_mode = F2FS_OPTION(sbi).whint_mode; in f2fs_direct_IO() local
3703 if (rw == WRITE && whint_mode == WHINT_MODE_OFF) in f2fs_direct_IO()
3736 if (whint_mode == WHINT_MODE_OFF) in f2fs_direct_IO()
H A Dsegment.c3323 * the mount option 'whint_mode'.
3325 * 1) whint_mode=off. F2FS only passes down WRITE_LIFE_NOT_SET.
3327 * 2) whint_mode=user-based. F2FS tries to pass down hints given by users.
3354 * 3) whint_mode=fs-based. F2FS passes down hints with its policy.
3385 if (F2FS_OPTION(sbi).whint_mode == WHINT_MODE_USER) { in f2fs_io_type_to_rw_hint()
3396 } else if (F2FS_OPTION(sbi).whint_mode == WHINT_MODE_FS) { in f2fs_io_type_to_rw_hint()
H A Df2fs.h143 int whint_mode; member

Completed in 22 milliseconds