Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1558090

Re: [PATCH 5/6] f2fs: add a kernel thread to issue discard commands asynchronously

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/6] f2fs: add a kernel thread to issue discard commands asynchronously
Date 2017-01-13 09:10 +0100
Message-ID <sZ55U-6Ta-23@gated-at.bofh.it> (permalink)
References <sYWlY-1cO-13@gated-at.bofh.it> <sYWlY-1cO-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jan 12, 2017 at 02:44:06PM -0800, Jaegeuk Kim wrote:
> 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.

Why?  Instead of creating the complexity of a thread you should look
into issuing the discard bios asynchronously, which should help to
simplify a lot of the discard logic in f2fs.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 5/6] f2fs: add a kernel thread to issue discard commands asynchronously Jaegeuk Kim <jaegeuk@kernel.org> - 2017-01-12 23:50 +0100
  Re: [PATCH 5/6] f2fs: add a kernel thread to issue discard commands  asynchronously Christoph Hellwig <hch@infradead.org> - 2017-01-13 09:10 +0100
    Re: [PATCH 5/6] f2fs: add a kernel thread to issue discard commands  asynchronously Jaegeuk Kim <jaegeuk@kernel.org> - 2017-01-13 20:20 +0100
      Re: [PATCH 5/6] f2fs: add a kernel thread to issue discard commands  asynchronously Christoph Hellwig <hch@infradead.org> - 2017-01-16 18:40 +0100

csiph-web