[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1434668126.32433.33.camel@linux.intel.com>
Date: Thu, 18 Jun 2015 16:55:26 -0600
From: Vishal Verma <vishal.l.verma@...ux.intel.com>
To: Dan Williams <dan.j.williams@...el.com>
Cc: axboe@...nel.dk, linux-nvdimm@...ts.01.org,
linux-kernel@...r.kernel.org, mingo@...nel.org,
linux-acpi@...r.kernel.org, linux-fsdevel@...r.kernel.org,
hch@....de
Subject: Re: [PATCH 14/15] libnvdimm: support read-only btt backing devices
On Wed, 2015-06-17 at 19:56 -0400, Dan Williams wrote:
> Upon detection of a read-only backing device arrange for the btt to
> device to be read only. Implement a catch for the BLKROSET ioctl and
> only allow a btt-instance to become read-write when the backing-device
> becomes read-write. Conversely, if a backing-device becomes read-only
> arrange for its parent btt to be marked read-only. Synchronize these
> changes under the bus lock.
>
> Signed-off-by: Dan Williams <dan.j.williams@...el.com>
> ---
> drivers/nvdimm/blk.c | 4 +++
> drivers/nvdimm/btt.c | 34 ++++++++++++++++++++++++++--
> drivers/nvdimm/btt_devs.c | 42 ++++++++++++++++++++++++++++++++++
> drivers/nvdimm/bus.c | 55 +++++++++++++++++++++++++++++++++++++++++++++
> drivers/nvdimm/nd-core.h | 14 +++++++++++
> drivers/nvdimm/nd.h | 4 +++
> drivers/nvdimm/pmem.c | 4 +++
> 7 files changed, 154 insertions(+), 3 deletions(-)
Reviewed-by: Vishal Verma <vishal.l.verma@...el.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists