Re: [LSF/MM TOPIC] Filesystem-DAX, page-pinning, and RDMA

2018-01-26 Thread Dan Williams
On Thu, Jan 25, 2018 at 8:47 AM, Christoph Hellwig wrote: > On Thu, Jan 25, 2018 at 09:08:02AM -0700, Jason Gunthorpe wrote: >> On Wed, Jan 24, 2018 at 11:23:51PM -0800, Christoph Hellwig wrote: >> > On Wed, Jan 24, 2018 at 07:56:02PM -0800, Dan Williams wrote: >> > >

Re: [ndctl PATCH v2 2/2] ndctl: add sector_size to 'ndctl list' output

2018-01-26 Thread Dan Williams
On Fri, Jan 26, 2018 at 12:54 PM, Ross Zwisler wrote: > It used to be that the only PMEM namespaces with a variable sector size > were ones with a BTT, but that has changed. sector_size still doesn't make > sense for device DAX since we don't have a block I/O path.

Re: [ndctl PATCH v2 2/2] ndctl: add sector_size to 'ndctl list' output

2018-01-26 Thread Dave Jiang
On 01/26/2018 01:54 PM, Ross Zwisler wrote: It used to be that the only PMEM namespaces with a variable sector size were ones with a BTT, but that has changed. sector_size still doesn't make sense for device DAX since we don't have a block I/O path. If we don't have a specified sector size,

[ndctl PATCH v2 2/2] ndctl: add sector_size to 'ndctl list' output

2018-01-26 Thread Ross Zwisler
It used to be that the only PMEM namespaces with a variable sector size were ones with a BTT, but that has changed. sector_size still doesn't make sense for device DAX since we don't have a block I/O path. If we don't have a specified sector size, as happens with namespaces of devtype

[PATCH 1/2] libnvdimm/nfit_test: add firmware download emulation

2018-01-26 Thread Dave Jiang
Adding support in nfit_test for DSM v1.6 firmware update sequence. The test will simulate the flashing of firmware to the DIMM. A bogus version string will be returned as the test has no idea how to parse the firmware binary. Any bogus binary can be used to "update" as the actual binary is not

[PATCH 2/2] libnvdimm/nfit_test: adding support for unit testing enable LSS status

2018-01-26 Thread Dave Jiang
Adding support code to simulate the enabling of LSS status in support of the Intel DSM v1.6 Function Index 10: Enable Latch System Shutdown Status. This is only for testing of libndctl support for LSS enable. The actual functionality requires a reboot and therefore is not simulated. The enable