diff options
author | Jerry Hoemann <jerry.hoemann@hpe.com> | 2016-04-11 15:02:28 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-04-28 16:23:16 -0700 |
commit | 40abf9be8f52d440e442206182916e3dcc68f722 (patch) | |
tree | dff29c33a851f651931eab6435eab64e30a42620 /include/linux | |
parent | c7e16e5257ec46530e3e874af38191746c137c83 (diff) | |
download | op-kernel-dev-40abf9be8f52d440e442206182916e3dcc68f722.zip op-kernel-dev-40abf9be8f52d440e442206182916e3dcc68f722.tar.gz |
libnvdimm: increase max envelope size for ioctl
nd_ioctl() must first read in the fixed sized portion of an ioctl so
that it can then determine the size of the variable part.
Prepare for ND_CMD_CALL calls which have larger fixed portion
envelope.
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/libnvdimm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index 833867b..af31d1c 100644 --- a/include/linux/libnvdimm.h +++ b/include/linux/libnvdimm.h @@ -27,7 +27,7 @@ enum { /* need to set a limit somewhere, but yes, this is likely overkill */ ND_IOCTL_MAX_BUFLEN = SZ_4M, ND_CMD_MAX_ELEM = 5, - ND_CMD_MAX_ENVELOPE = 16, + ND_CMD_MAX_ENVELOPE = 256, ND_MAX_MAPPINGS = 32, /* region flag indicating to direct-map persistent memory by default */ |