tag | c788188cea5c297151f1fd5dc2b991a05708e758 | |
---|---|---|
tagger | Dan Williams <dan.j.williams@intel.com> | Wed Sep 09 20:19:15 2015 -0400 |
object | 4cdd5fdc54b894d79d7acb70c2c098ffa4eb7f86 |
ndctl: release v47 This release reflects the ABI of the first kernel with libnvdimm support, v4.2. New apis: ndctl_bus_cmd_new_ars_cap ndctl_bus_cmd_new_ars_start ndctl_bus_cmd_new_ars_status ndctl_cmd_ars_cap_get_size ndctl_cmd_ars_in_progress ndctl_cmd_ars_num_records ndctl_cmd_ars_get_record_addr ndctl_cmd_ars_get_record_len ndctl_namespace_disable_invalidate Fixes: ndctl_btt_enable now triggers a re-scan for new btt seeds
commit | 4cdd5fdc54b894d79d7acb70c2c098ffa4eb7f86 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Mon Jul 27 22:34:51 2015 -0400 |
committer | Dan Williams <dan.j.williams@intel.com> | Wed Sep 09 20:19:09 2015 -0400 |
tree | 71b9ef77f4ad280288ea0277d09e28839afe9921 | |
parent | 388c4f4ec53abb9fcae994c44b30aac6a4ab3060 [diff] |
ndctl: release v47 This release reflects the ABI of the first kernel with libnvdimm support, v4.2. New apis: ndctl_bus_cmd_new_ars_cap ndctl_bus_cmd_new_ars_start ndctl_bus_cmd_new_ars_status ndctl_cmd_ars_cap_get_size ndctl_cmd_ars_in_progress ndctl_cmd_ars_num_records ndctl_cmd_ars_get_record_addr ndctl_cmd_ars_get_record_len ndctl_namespace_disable_invalidate Fixes: ndctl_btt_enable now triggers a re-scan for new btt seeds Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
See the latest documentation for the NVDIMM kernel sub-system here:
The unit tests run by make check
require the nfit_test.ko module to be loaded. To build and install nfit_test.ko:
Obtain the kernel source. For example,git clone -b libnvdimm-for-next git://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git
Configure the kernel to make some memory available to CMA (contiguous memory allocator). This will be used to emulate DAX.CONFIG_DMA_CMA=y
CONFIG_CMA_SIZE_MBYTES=150
orcma=150M
on the kernel command line.
Compile all components of the libnvdimm sub-system as modules:CONFIG_LIBNVDIMM=m
CONFIG_BLK_DEV_PMEM=m
CONFIG_ND_BLK=m
CONFIG_ND_BTT=m
Build and install the unit test enabled libnvdimm modules in the following order. The unit test modules need to be in place prior to the depmod
that runs during the final modules_install
make -C tools/testing/nvdimm/
sudo make -C tools/testing/nvdimm/ install
sudo make modules_install
Now run make check
in the ndctl source directory, or ndctl test
, if ndctl was built with --enable-test
.