diff options
author | Zach Koopmans <zkoopmans@google.com> | 2019-08-19 14:06:22 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-19 14:07:44 -0700 |
commit | 67d7864f839037c5188c2a9e7ec5e7b11a7672a2 (patch) | |
tree | e441d7e61cfd5bd6012fb7b4b13f7e43f79e4015 /pkg/abi | |
parent | 3ffbdffd7e96e406fd3136818e0402cf0c2f0d4d (diff) |
Document RWF_HIPRI not implemented for preadv2/pwritev2.
Document limitation of no reasonable implementation for RWF_HIPRI
flag (High Priority Read/Write for block-based file systems).
PiperOrigin-RevId: 264237589
Diffstat (limited to 'pkg/abi')
-rw-r--r-- | pkg/abi/linux/file.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/abi/linux/file.go b/pkg/abi/linux/file.go index 615e72646..7d742871a 100644 --- a/pkg/abi/linux/file.go +++ b/pkg/abi/linux/file.go @@ -178,6 +178,8 @@ const ( // Values for preadv2/pwritev2. const ( + // Note: gVisor does not implement the RWF_HIPRI feature, but the flag is + // accepted as a valid flag argument for preadv2/pwritev2. RWF_HIPRI = 0x00000001 RWF_DSYNC = 0x00000002 RWF_SYNC = 0x00000004 |