Re: [PATCH 2/2] pmem: add a driver for persistent memory

2015-04-02 Thread Christoph Hellwig
On Wed, Apr 01, 2015 at 06:18:54PM +0300, Boaz Harrosh wrote: > You might as well rw & WRITE also for the above pmem_do_bvec call. > If there can be such problem than the rw == READ inside > pmem_do_bvec will fail as well. Might be worth to pass a bool to pmem_do_bvec, but we're getting into

Re: [PATCH 2/2] pmem: add a driver for persistent memory

2015-04-02 Thread Christoph Hellwig
On Wed, Apr 01, 2015 at 06:18:54PM +0300, Boaz Harrosh wrote: You might as well rw WRITE also for the above pmem_do_bvec call. If there can be such problem than the rw == READ inside pmem_do_bvec will fail as well. Might be worth to pass a bool to pmem_do_bvec, but we're getting into serious

Re: [PATCH 2/2] pmem: add a driver for persistent memory

2015-04-01 Thread Boaz Harrosh
On 04/01/2015 10:12 AM, Christoph Hellwig wrote: > From: Ross Zwisler > > PMEM is a new driver that presents a reserved range of memory as a > block device. This is useful for developing with NV-DIMMs, and > can be used with volatile memory as a development platform. > > This patch contains

[PATCH 2/2] pmem: add a driver for persistent memory

2015-04-01 Thread Christoph Hellwig
From: Ross Zwisler PMEM is a new driver that presents a reserved range of memory as a block device. This is useful for developing with NV-DIMMs, and can be used with volatile memory as a development platform. This patch contains the initial driver from Ross Zwisler, with various changes from

[PATCH 2/2] pmem: add a driver for persistent memory

2015-04-01 Thread Christoph Hellwig
From: Ross Zwisler ross.zwis...@linux.intel.com PMEM is a new driver that presents a reserved range of memory as a block device. This is useful for developing with NV-DIMMs, and can be used with volatile memory as a development platform. This patch contains the initial driver from Ross Zwisler,

Re: [PATCH 2/2] pmem: add a driver for persistent memory

2015-04-01 Thread Boaz Harrosh
On 04/01/2015 10:12 AM, Christoph Hellwig wrote: From: Ross Zwisler ross.zwis...@linux.intel.com PMEM is a new driver that presents a reserved range of memory as a block device. This is useful for developing with NV-DIMMs, and can be used with volatile memory as a development platform.