]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
f2fs: add a kernel thread to issue discard commands asynchronously
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 10 Jan 2017 04:32:07 +0000 (20:32 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 23 Feb 2017 04:24:45 +0000 (20:24 -0800)
commit1546996348b33dc44dff829bc86fea8a8536164d
tree74eaafcc5d28e0ae0b96deec0244e9f3ce382c29
parent0b54fb8458199dbed409abb06933c27439ea0911
f2fs: add a kernel thread to issue discard commands asynchronously

This patch adds a kernel thread to issue discard commands.
It proposes three states, D_PREP, D_SUBMIT, and D_DONE to identify current
bio status.

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