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


Groups > linux.kernel > #1161103

Re: [PATCH v4 0/8] Support for Open-Channel SSDs

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH v4 0/8] Support for Open-Channel SSDs
Date 2015-06-09 09:50 +0200
Message-ID <pzmsh-8qc-7@gated-at.bofh.it> (permalink)
References <pxZo6-xg-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Matias,

I've been looking over this and I really think it needs a fundamental
rearchitecture still.  The design of using a separate stacking
block device and all kinds of private hooks does not look very
maintainable.

Here is my counter suggestion:

 - the stacking block device goes away
 - the nvm_target_type make_rq and prep_rq callbacks are combined
   into one and called from the nvme/null_blk ->queue_rq method
   early on to prepare the FTL state.  The drivers that are LightNVM
   enabled reserve a pointer to it in their per request data, which
   the unprep_rq callback is called on durign I/O completion.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH v4 0/8] Support for Open-Channel SSDs Christoph Hellwig <hch@infradead.org> - 2015-06-09 09:50 +0200
  Re: [PATCH v4 0/8] Support for Open-Channel SSDs Christoph Hellwig <hch@infradead.org> - 2015-06-11 12:30 +0200
    Re: [PATCH v4 0/8] Support for Open-Channel SSDs Matias Bjorling <m@bjorling.me> - 2015-06-13 18:20 +0200

csiph-web