[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4gUp6LtYVuzbQfzq6RbDyf=3nQ0509TPnNCJtVBazrUTg@mail.gmail.com>
Date: Mon, 22 Jun 2015 00:39:34 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: Christoph Hellwig <hch@....de>
Cc: Jens Axboe <axboe@...nel.dk>,
"linux-nvdimm@...ts.01.org" <linux-nvdimm@...ts.01.org>,
Boaz Harrosh <boaz@...xistor.com>,
"Kani, Toshimitsu" <toshi.kani@...com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linux ACPI <linux-acpi@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH 14/15] libnvdimm: support read-only btt backing devices
On Mon, Jun 22, 2015 at 12:28 AM, Christoph Hellwig <hch@....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/
Powered by blists - more mailing lists