lkml.org 
[lkml]   [2015]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 14/15] libnvdimm: support read-only btt backing devices
From
On Mon, Jun 22, 2015 at 12:28 AM, Christoph Hellwig <hch@lst.de> wrote:
> On Mon, Jun 22, 2015 at 12:17:29AM -0700, Dan Williams wrote:
>> To be fair the namespace was initially envisioned to be btt enabled or
>> not, and hide the raw media device.
>
> What's the fascination with hiding one access mode just because
> another one is available?
>

Now I'm confused, you *don't* want the raw device to be hidden *and*
you want to kill the stacking? Something got crossed. The current
implementation hides nothing, you get to see the entire stacked
composition. I'd much prefer to avoid hiding anything.

>> There's no guarantee that these drivers are only ever paired with
>> XFSv5.
>
> There's not guarantee for anything. Note that anything not following
> my criteria earlier would need some form of atomic sector updates,
> which is a lot more. But then again for most of those setups you
> wouldn't take advantage of pmem anyway.
>
> Sounds like we simply shouldn't merge btt at all for now and wait for
> a real use case, which would simplify the whole issue a lot.

The sinister aspect of sector tearing is that most applications don't
know they have this dependency. At least today's disk's rarely ever
tear sectors and if they do you almost certainly get a CRC error on
access. NVDIMMs will always tear and always silently. I think not
merging BTT at all to see what happens is simply wrong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2015-06-22 10:01    [W:0.105 / U:2.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site