NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

file-write-file / file-read-file size clarifications

kevingraham
4,119 Views

Though the documentation for I/O size in file-write-file and file-read-file are technically correct, they could really use some clarification.

Quoting from the 4.1 SDK, file-write-file states that "API will fail if data exceeds 1 MB" and file-read-file says "API will fail if length exceeds 1 MB". Until recognizing the subtle difference between these two (or observing empirically), they appear to each allow 1MB I/O sizes, though due to the double-byte encoding of the data element, the actual sizes are 512kb for writes and 1024kb for reads. It'd be good to make this distinction more apparent in the documentation.

2 REPLIES 2

christin
4,119 Views

Hi Kevin,

Thanks for the feedback. I have forwarded your comment to the appropriate team and will have give you an update as soon as I hear back.

Regards,

Christine

kunalm
4,119 Views

Hi Kevin

Hope you are doing well. Thanks for pointing out about the clarification, we will fix this in a future release

-Kunal

Public