commit | cce1325247b9faafc520c5789fe60feef1fd7092 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Thu Jun 29 23:17:45 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Jul 07 10:34:42 2017 -0700 |
tree | b4b722ce5c23bb52fb36b9f9a291dc1314ea64e7 | |
parent | daeb433e42de97c79622f58681972200eec1d8da [diff] |
f2fs: stop gc/discard thread in prior during umount This patch resolves kernel panic for xfstests/081, caused by recent f2fs_bug_on f2fs: add f2fs_bug_on in __remove_discard_cmd For fixing, we will stop gc/discard thread in prior in ->kill_sb in order to avoid referring and releasing race among them. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>