commit | 7950e9ac638e84518fbdd5c930939ad46a1068c5 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Thu Jan 18 17:23:29 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Jan 22 14:56:55 2018 -0800 |
tree | 3ea4ea87d4151ed5929609caa7a5d3631b2ac00e | |
parent | d027c48447c2c2fab2b2aa1833436cf24ea567e9 [diff] |
f2fs: stop gc/discard thread after fs shutdown Once filesystem shuts down, daemons like gc/discard thread should be aware of it, and do exit, in addtion, drop all cached pending discard commands and turn off real-time discard mode. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>