public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vladislav Bolkhovitin <vst@vlnb.net>
To: "Zuckerman, Boris" <borisz@hp.com>
Cc: Matthew Wilcox <willy@linux.intel.com>,
	"rob.gittins@linux.intel.com" <rob.gittins@linux.intel.com>,
	"linux-pmfs@lists.infradead.org" <linux-pmfs@lists.infradead.org>,
	"linux-fsdevel@veger.org" <linux-fsdevel@veger.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: RFC Block Layer Extensions to Support NV-DIMMs
Date: Sat, 28 Sep 2013 00:44:11 -0700	[thread overview]
Message-ID: <524688CB.9000400@vlnb.net> (raw)
In-Reply-To: <4C30833E5CDF444D84D942543DF65BDA580690B7@G9W0739.americas.hpqcorp.net>


Zuckerman, Boris, on 09/26/2013 12:36 PM wrote:
> I assume that we may have both: CPUs that may have ability to support multiple transactions, CPUs that support only one, CPUs that support none (as today), as well as different devices - transaction capable and not.
> So, it seems there is a room for compilers to do their work and for class drivers to do their, right?

Yes, correct.

Conceptually NVDIMMs are not block devices. They may be used as block devices, but may
not be as well. So, nailing them into the block abstraction by big hammer is simply a
bad design.

Vlad

> boris
> 
>> -----Original Message-----
>> From: Matthew Wilcox [mailto:willy@linux.intel.com]
>> Sent: Thursday, September 26, 2013 1:56 PM
>> To: Zuckerman, Boris
>> Cc: Vladislav Bolkhovitin; rob.gittins@linux.intel.com; linux-pmfs@lists.infradead.org;
>> linux-fsdevel@veger.org; linux-kernel@vger.kernel.org
>> Subject: Re: RFC Block Layer Extensions to Support NV-DIMMs
>>
>> On Thu, Sep 26, 2013 at 02:56:17PM +0000, Zuckerman, Boris wrote:
>>> To work with persistent memory as efficiently as we can work with RAM we need a
>> bit more than "commit". It's reasonable to expect that we get some additional
>> support from CPUs that goes beyond mfence and mflush. That may include discovery,
>> transactional support, etc. Encapsulating that in a special class sooner than later
>> seams a right thing to do...
>>
>> If it's something CPU-specific, then we wouldn't handle it as part of the "class", we'd
>> handle it as an architecture abstraction.  It's only operations which are device-specific
>> which would need to be exposed through an operations vector.  For example, suppose
>> you buy one device from IBM and another device from HP, and plug them both into
>> your SPARC system.  The code you compile needs to run on SPARC, doing whatever
>> CPU operations are supported, but if HP and IBM have different ways of handling a
>> "commit" operation, we need that operation to be part of an operations vector.
> --
> 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/
> 

      reply	other threads:[~2013-09-28  7:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04 21:54 RFC Block Layer Extensions to Support NV-DIMMs Rob Gittins
2013-09-05 12:12 ` Jeff Moyer
2013-09-05 15:34   ` Matthew Wilcox
2013-09-05 17:15     ` Jeff Moyer
2013-09-05 17:57       ` Matthew Wilcox
2013-09-05 19:46       ` Zuckerman, Boris
2013-09-05 20:43         ` Gittins, Rob
2013-09-05 21:02           ` Zuckerman, Boris
2013-09-05 16:33   ` Rob Gittins
2013-09-05 17:19     ` Jeff Moyer
2013-09-07  5:12 ` Vladislav Bolkhovitin
2013-09-23 22:51   ` Rob Gittins
2013-09-26  6:58     ` Vladislav Bolkhovitin
2013-09-26 14:56       ` Zuckerman, Boris
2013-09-26 17:56         ` Matthew Wilcox
2013-09-26 19:36           ` Zuckerman, Boris
2013-09-28  7:44             ` Vladislav Bolkhovitin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=524688CB.9000400@vlnb.net \
    --to=vst@vlnb.net \
    --cc=borisz@hp.com \
    --cc=linux-fsdevel@veger.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pmfs@lists.infradead.org \
    --cc=rob.gittins@linux.intel.com \
    --cc=willy@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox