linux/fs/f2fs
Jaegeuk Kim 03f2c02d8b f2fs: run discard jobs when put_super
When we umount f2fs, we need to avoid long delay due to discard commands, which
is actually taking tens of seconds, if storage is very slow on UNMAP. So, this
patch introduces timeout-based work on it.

By default, let me give 5 seconds for discard.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2019-02-04 08:55:34 -08:00
..
acl.c f2fs: use kvmalloc, if kmalloc is failed 2018-12-26 15:16:53 -08:00
acl.h f2fs: add SPDX license identifiers 2018-09-12 13:07:10 -07:00
checkpoint.c f2fs: check PageWriteback flag for ordered case 2018-12-26 15:16:56 -08:00
data.c f2fs: remove set but not used variable 'err' 2019-01-08 09:34:27 -08:00
debug.c f2fs: no need to check return value of debugfs_create functions 2019-01-08 20:41:09 -08:00
dir.c f2fs: check if file namelen exceeds max value 2019-01-22 15:31:26 -08:00
extent_cache.c f2fs: fix to initialize variable to avoid UBSAN/smatch warning 2019-01-22 15:31:26 -08:00
f2fs.h f2fs: run discard jobs when put_super 2019-02-04 08:55:34 -08:00
file.c f2fs: export FS_NOCOW_FL flag to user 2019-01-08 20:41:09 -08:00
gc.c f2fs: check PageWriteback flag for ordered case 2018-12-26 15:16:56 -08:00
gc.h f2fs: add SPDX license identifiers 2018-09-12 13:07:10 -07:00
hash.c f2fs: add SPDX license identifiers 2018-09-12 13:07:10 -07:00
inline.c f2fs: check PageWriteback flag for ordered case 2018-12-26 15:16:56 -08:00
inode.c f2fs: check PageWriteback flag for ordered case 2018-12-26 15:16:56 -08:00
Kconfig fs/*/Kconfig: drop links to 404-compliant http://acl.bestbits.at 2018-01-01 12:45:37 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
namei.c f2fs: use kvmalloc, if kmalloc is failed 2018-12-26 15:16:53 -08:00
node.c f2fs: check PageWriteback flag for ordered case 2018-12-26 15:16:56 -08:00
node.h f2fs: check PageWriteback flag for ordered case 2018-12-26 15:16:56 -08:00
recovery.c f2fs: check PageWriteback flag for ordered case 2018-12-26 15:16:56 -08:00
segment.c f2fs: run discard jobs when put_super 2019-02-04 08:55:34 -08:00
segment.h f2fs: introduce __is_large_section() for cleanup 2018-11-26 15:53:55 -08:00
shrinker.c f2fs: fix sbi->extent_list corruption issue 2018-12-26 15:16:54 -08:00
super.c f2fs: run discard jobs when put_super 2019-02-04 08:55:34 -08:00
sysfs.c f2fs: run discard jobs when put_super 2019-02-04 08:55:34 -08:00
trace.c f2fs: add SPDX license identifiers 2018-09-12 13:07:10 -07:00
trace.h f2fs: add SPDX license identifiers 2018-09-12 13:07:10 -07:00
xattr.c f2fs: sanity check of xattr entry size 2018-12-26 19:56:23 -08:00
xattr.h f2fs: add SPDX license identifiers 2018-09-12 13:07:10 -07:00