This release incorporates the capabilities of the v4.5 kernel, and adds
the below features and fixes:
New apis:
ndctl_bus_get_ctx
ndctl_namespace_get_pfn
ndctl_namespace_get_mode
ndctl_namespace_get_numa_node
ndctl_region_get_pfn_seed
ndctl_pfn_get_first
ndctl_pfn_get_next
ndctl_pfn_get_id
ndctl_pfn_get_namespace
ndctl_pfn_get_uuid
ndctl_pfn_set_uuid
ndctl_pfn_get_location
ndctl_pfn_set_location
ndctl_pfn_get_align
ndctl_pfn_set_align
ndctl_pfn_set_namespace
ndctl_pfn_get_bus
ndctl_pfn_get_ctx
ndctl_pfn_get_devname
ndctl_pfn_get_block_device
ndctl_pfn_is_valid
ndctl_pfn_is_enabled
ndctl_pfn_get_region
ndctl_pfn_enable
ndctl_pfn_delete
ndctl_pfn_is_configured
New utility commands:
list
help (man pages)
create-namespace
Api fixes:
ndctl_{namespace|btt}_foreach crash fix
ndctl_namespace_delete no longer errors on "io" namespaces
miscellaneous static analysis fixes
Utility command fixes:
{en|dis}able-{namespace|region} return code
Signed-off-by: Dan Williams <dan.j.williams(a)intel.com>
---
Makefile.am | 4 ++--
builtin-xaction-namespace.c | 2 +-
git-version-gen | 2 +-
lib/libndctl-ars.c | 2 +-
lib/libndctl-private.h | 2 +-
lib/libndctl.c | 2 +-
lib/ndctl/libndctl.h | 2 +-
ndctl.h | 2 +-
nfit.h | 2 +-
test/dax-dev.c | 2 +-
test/dpa-alloc.c | 2 +-
test/libndctl.c | 2 +-
12 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index e613bc418b17..1c6a4b07f8f1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,9 +45,9 @@ SED_PROCESS = \
%.pc: %.pc.in Makefile
$(SED_PROCESS)
-LIBNDCTL_CURRENT=5
+LIBNDCTL_CURRENT=6
LIBNDCTL_REVISION=0
-LIBNDCTL_AGE=2
+LIBNDCTL_AGE=0
pkginclude_HEADERS = lib/ndctl/libndctl.h
lib_LTLIBRARIES = lib/libndctl.la
diff --git a/builtin-xaction-namespace.c b/builtin-xaction-namespace.c
index eb16aaaf5ee7..f4645d866e0f 100644
--- a/builtin-xaction-namespace.c
+++ b/builtin-xaction-namespace.c
@@ -1,5 +1,5 @@
/*
- * Copyright(c) 2015 Intel Corporation. All rights reserved.
+ * Copyright(c) 2015-2016 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
diff --git a/git-version-gen b/git-version-gen
index a12a62fd397f..9cd2ebf1407a 100755
--- a/git-version-gen
+++ b/git-version-gen
@@ -10,7 +10,7 @@ dirty() {
}
GVF=version.m4
-DEF_VER=v47
+DEF_VER=v50
LF='
'
diff --git a/lib/libndctl-ars.c b/lib/libndctl-ars.c
index fd988996501d..ea3af82ca647 100644
--- a/lib/libndctl-ars.c
+++ b/lib/libndctl-ars.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2015, Intel Corporation.
+ * Copyright (c) 2014-2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
diff --git a/lib/libndctl-private.h b/lib/libndctl-private.h
index d3cca9401b45..8111a555b957 100644
--- a/lib/libndctl-private.h
+++ b/lib/libndctl-private.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2015, Intel Corporation.
+ * Copyright (c) 2014-2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
diff --git a/lib/libndctl.c b/lib/libndctl.c
index f6d8c51cd037..b85ae259827b 100644
--- a/lib/libndctl.c
+++ b/lib/libndctl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2015, Intel Corporation.
+ * Copyright (c) 2014-2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
diff --git a/lib/ndctl/libndctl.h b/lib/ndctl/libndctl.h
index 81f7e96b3f3d..088bb3c3d8b9 100644
--- a/lib/ndctl/libndctl.h
+++ b/lib/ndctl/libndctl.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2015, Intel Corporation.
+ * Copyright (c) 2014-2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
diff --git a/ndctl.h b/ndctl.h
index 076cc92646aa..50df797f1974 100644
--- a/ndctl.h
+++ b/ndctl.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2015, Intel Corporation.
+ * Copyright (c) 2014-2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
diff --git a/nfit.h b/nfit.h
index 190b906e06e9..9815d2143a9e 100644
--- a/nfit.h
+++ b/nfit.h
@@ -1,7 +1,7 @@
/*
* NVDIMM Firmware Interface Table - NFIT
*
- * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
+ * Copyright(c) 2013-2016 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
diff --git a/test/dax-dev.c b/test/dax-dev.c
index afc9e5211eb3..074fc9616743 100755
--- a/test/dax-dev.c
+++ b/test/dax-dev.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2015, Intel Corporation.
+ * Copyright (c) 2014-2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
diff --git a/test/dpa-alloc.c b/test/dpa-alloc.c
index 2916d587ee35..87f374fe0540 100644
--- a/test/dpa-alloc.c
+++ b/test/dpa-alloc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2015, Intel Corporation.
+ * Copyright (c) 2014-2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
diff --git a/test/libndctl.c b/test/libndctl.c
index b6720ed59d95..5c26b5fdffc3 100644
--- a/test/libndctl.c
+++ b/test/libndctl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2015, Intel Corporation.
+ * Copyright (c) 2014-2016, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,