feat(bufferedread): Handle -1 for read.global-max-blocks as infinite by vipnydav · Pull Request #3855 · GoogleCloudPlatform/gcsfuse (original) (raw)

Description

This PR handles the -1 value for read.global-max-blocks. When this parameter is set to -1, it will be interpreted as an infinite value and set to math.MaxInt32.

https://b.corp.google.com/issues/448271034

Testing details

  1. Manual - Done
  2. Unit tests - Added
  3. Integration tests - NA

Any backward incompatible change? If so, please explain.