On Mon, Jun 27, 2016 at 1:43 PM, Vishal Verma <vishal.l.verma(a)intel.com> wrote:
Add three new 'filters' for mode, type, and idle.
'mode' and 'type' work with each other to prevent a blk namespace from
showing modes like 'dax' or 'memory', or if those modes are specified,
then limiting 'type' to 'pmem'.
Also show completions for --map= only if mode is 'memory'.
--map= is also valid when the mode is 'dax'.
There's also an assumption in the --reconfig= case for
'create-namespace' that parameters are inherited from the target
namespace. For example, it might be surprising that completions are
not provided for --map= when the mode is implied by the provided
namespace.