]> git.karo-electronics.de Git - karo-tx-linux.git/commit
f2fs: wait discard IO completion without cmd_lock held
authorChao Yu <yuchao0@huawei.com>
Fri, 19 May 2017 15:46:45 +0000 (23:46 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 24 May 2017 04:10:03 +0000 (21:10 -0700)
commit6afae6336ac9c19b5956c003e882b1ee4bca2a9d
treeab3a89bf171dd44d169b51d63d827e9e9240525b
parente31b98215779e66a490471c6ad886ae231316699
f2fs: wait discard IO completion without cmd_lock held

Wait discard IO completion outside cmd_lock to avoid long latency
of holding cmd_lock in IO busy scenario.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c